Advertisement
Guest User

scammers.rb

a guest
Jul 30th, 2013
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. class Scammer
  2. include Mongoid::Document
  3. field :email_used
  4. field :phone_used
  5. field :name_used
  6. field :first_logged, type: DateTime
  7. field :last_scam_attempt, type: DateTime
  8. field :checked, type: Integer
  9. field :scams_count, type: Integer
  10. field :common_commodity
  11. field :status
  12. embeds_many :reports
  13. end
  14.  
  15. class Report
  16. include Mongoid::Document
  17. field :reported, type: DateTime
  18. field :posed_as
  19. field :encountered_through
  20. field :commodity
  21. field :details
  22. field :logged_by
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement