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?
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
精彩评论