Compare commits

..

No commits in common. "master" and "v0.0.1" have entirely different histories.

1 changed files with 12 additions and 0 deletions

12
app/models/location.rb Normal file
View File

@ -0,0 +1,12 @@
class Location
include Mongoid::Document
include Mongoid::Timestamps
include OrbitCategory::Categorizable
mount_uploader :file, LocationUploader
field :name
field :description
field :longitude, type: Float
field :latitude, type: Float
end