property_hire/app/models/property_location.rb

9 lines
146 B
Ruby
Raw Normal View History

2017-01-20 09:02:50 +00:00
class PropertyLocation
include Mongoid::Document
include Mongoid::Timestamps
field :title, :localize => true
has_many :properties
end