[openstreetmap/openstreetmap-website] Add microcosms to the website (#2390)
Brian DeRocher
notifications at github.com
Fri Oct 18 02:02:55 UTC 2019
openbrian commented on this pull request.
> +# created_at :datetime not null
+# updated_at :datetime not null
+# slug :string not null
+# location :string not null
+# lat :decimal(, ) not null
+# lon :decimal(, ) not null
+# min_lat :integer not null
+# max_lat :integer not null
+# min_lon :integer not null
+# max_lon :integer not null
+#
+
+class Microcosm < ActiveRecord::Base
+ extend FriendlyId
+ friendly_id :name, :use => :slugged
+ self.ignored_columns = ["key"]
yes
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2390#discussion_r336294417
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191017/4614ee11/attachment.html>
More information about the rails-dev
mailing list