add attached_file property to location model

This commit is contained in:
Andrew Brown 2014-01-07 19:00:38 +00:00
parent 3097be4a5a
commit 01204e1443

View File

@ -6,6 +6,13 @@ class Location
field :type_of, :type => String
field :description, :type => String
# Map
has_attached_file :map, styles: {
thumb: '200x200>',
square: '300x300#',
medium: '400x400>'
}
# Culture
field :population, :type => String
field :language, :type => String