ask/app/models/ask_admin.rb

7 lines
140 B
Ruby
Raw Normal View History

2014-10-02 06:00:35 +00:00
class AskAdmin
include Mongoid::Document
include Mongoid::Timestamps
field :email, type: String
has_and_belongs_to_many :categories
2014-10-02 06:00:35 +00:00
end