提交包含acts_as_geocodable
错误的模型时,会显示相同的验证错误。有什么想法在这里发生什么?
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