[openstreetmap-website] Problem with rake db:migrate (#55)
s-s-s
reply+i-5711712-bc60b5cc26d86bf275a8ebe9a7c3f9a19f9c8b02-1419053 at reply.github.com
Thu Jul 19 14:05:45 BST 2012
Hello.
I attempt to install a local copy of a osm-website on the server under
FreeBSD 8.2.
To be exact, I try to upgrade the rails port v2.* to v3.* by the full installation.
However now, on a step 'rake db:migrate' I receive a following error:
-----
rake db:migrate
== CreateCountries: migrating ================================================
-- innodb_table()
-> 0.0001s
-- create_table(:countries, {:options=>"", :force=>true, :id=>false})
NOTICE: CREATE TABLE will create implicit sequence "countries_id_seq" for serial column "countries.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "countries_pkey" for table "countries"
-> 0.0110s
-- add_index(:countries, [:code], {:unique=>true, :name=>"countries_code_idx"})
-> 0.0035s
rake aborted!
An error has occurred, this and all later migrations canceled:
Can't mass-assign protected attributes: code, max_lon, min_lat, max_lat, min_lon
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
------
Can somebody tell me what it is possible to make to correct this error?
Thank you,
Sergey
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/55
More information about the rails-dev
mailing list