|
pravinj
12 post(s)
|
My local version has error after updating -
NoMethodError in SearchController#index undefined method `language_preference’ for #<user:0x6a62c7c> RAILS_ROOT: C:/Documents and Settings/pravin/breakout/breakout
Application Trace | Framework Trace | Full Trace c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/attribute_methods.rb:205:in `method_missing’ app/controllers/application.rb:790:in `default_locale’
|
|
Sergio Romano
100 post(s)
|
Did you run rake db:migrate ? migration 328 adds that field to users table
|
|
pravinj
12 post(s)
|
Thanks, Its working.
But at the time of migration it shown error – 330 AddWikiFilesFlowsToolsToExistingSpaces: migrating ==================== —execute(“INSERT INTO space_tools (id, space_id, secret_key, active, number, t ool_id, type, created_at)\n VALUES (‘ahuWMaHhCr3AN9aa2h-PL0’, ‘2222’ , ‘550ce978722da85f43c294ba4e4ad57f92eb5f8d’, 1, 1, 23, ‘WikiTool’, ‘Wed Sep 17 10:41:05 +0530 2008’);”) rake aborted! Mysql::Error: #22007Incorrect datetime value: ‘Wed Sep 17 10:41:05 +0530 2008’ f or column ‘created_at’ at row 1: INSERT INTO space_tools (id, space_id, secret_k ey, active, number, tool_id, type, created_at)
VALUES (‘ahuWMaHhCr3AN9aa2h-PL0’, ‘2222’, ‘550ce978722da85f43c294ba 4e4ad57f92eb5f8d’, 1, 1, 23, ‘WikiTool’, ‘Wed Sep 17 10:41:05 +0530 2008’);
|