Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Notification
- Friendly.configure(:adapter=>'mysql',:host=>'localhost',:user=>'root',:password=>'foobar',:database=>'foo_production')
- include Friendly::Document
- attribute :user_id, Integer
- attribute :ip_address, String
- indexes :user_id
- indexes :ip_address
- end
Add Comment
Please, Sign In to add comment