开发者

acts_as_geocodable validation errors

开发者 https://www.devze.com 2023-03-09 16:58 出处:网络
When submitting a model that contains an error for acts_as_geocodable 3 of the same validation errors are getting displayed. Any thoughts as to whats going on here?

When submitting a model that contains an error for acts_as_geocodable 3 of the same validation errors are getting displayed. Any thoughts as to whats going on here?

acts_as_geocodable validation errors

  create_table "skateparks", :force => true do |t|
    t.string   "name",                                :null => false
    t.text     "description"
    t.string   "street"
    t.string   "locality"
    t.string   "region"
    t.string   "postal_code"
    t.string   "country"
    t.float    "latitude"
    t.float    "longitude"
    t.boolean  "indoor"
    t.boolean  "outdoor"
    t.string   "ownership"
    t.string   "phone"
    t.text     "website"
    t.string   "email"
    t.boolean  "delta",          :default => true,    :null => false
    t.integer  "square_footage"
    t.boolean  "restrooms"
    t.boolean  "lights"
    t.boolean  "skateshop"
    t.string   "cached_slug"
    t.string   "status",         :default => "draft", :null => false
    t.integer  开发者_开发问答"photos_count",   :default => 0
    t.integer  "comments_count", :default => 0
    t.integer  "ratings_count",  :default => 0
    t.integer  "lock_version",   :default => 0,       :null => false
    t.datetime "created_at"
    t.datetime "updated_at"
    t.integer  "builder_id"
    t.integer  "designer_id"
  end
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号