Skip to content

Instantly share code, notes, and snippets.

@retorquere
Created July 29, 2010 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save retorquere/497661 to your computer and use it in GitHub Desktop.
Save retorquere/497661 to your computer and use it in GitHub Desktop.
ActiveRecord::UnknownAttributeError (unknown attribute: backlogs_task_color):
app/controllers/my_controller.rb:58:in `account'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
@retorquere
Copy link
Author

Processing MyController#account (for 145.74.159.105 at 2010-07-29 10:50:40) [POST]
Parameters: {"commit"=>"Save", "action"=>"account", "authenticity_token"=>".....", "no_self_notified"=>"1", "pref"=>{"hide_mail"=>"0", "comments_sorting"=>"asc", "time_zone"=>"", "backlogs_task_color"=>"#42a3e0"}, "controller"=>"my", "user"=>{"language"=>"en", "mail"=>"System@Administrator.com", "lastname"=>"Administrator", "firstname"=>"System"}, "notification_option"=>"none"}
Setting Columns (1.5ms) SHOW FIELDS FROM settings
SQL (0.2ms) SELECT max(settings.updated_on) AS max_updated_on FROM settings
User Columns (2.4ms) SHOW FIELDS FROM users
User Load (0.3ms) SELECT * FROM users WHERE (users.id = 3) AND (users.status = 1) AND ( (users.type = 'User' OR users.type = 'AnonymousUser' ) )
UserPreference Load (0.3ms) SELECT * FROM user_preferences WHERE (user_preferences.user_id = 3) LIMIT 1
UserPreference Columns (1.8ms) SHOW FIELDS FROM user_preferences

ActiveRecord::UnknownAttributeError (unknown attribute: backlogs_task_color):
app/controllers/my_controller.rb:58:in account' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:inservice'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in run' /usr/lib/ruby/1.8/webrick/server.rb:173:instart_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in start' /usr/lib/ruby/1.8/webrick/server.rb:162:instart_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in start' /usr/lib/ruby/1.8/webrick/server.rb:92:ineach'
/usr/lib/ruby/1.8/webrick/server.rb:92:in start' /usr/lib/ruby/1.8/webrick/server.rb:23:instart'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment