Project

General

Profile

sanitize_forbidden_attributes

Added by pacolotero pacolotero over 9 years ago

After upgrading redmine 2.6.2 to 3.0, I get this error

Started GET "/" for 83.44.175.175 at 2015-02-26 14:03:02 +0100
Processing by WelcomeController#index as HTML
Completed 500 Internal Server Error in 6ms

NoMethodError (undefined method `sanitize_forbidden_attributes' for #<Setting::ActiveRecord_Relation:0x00000003b47c58>):
app/models/setting.rb:246:in `find_or_default'
app/models/setting.rb:107:in `[]'
app/models/setting.rb:227:in `rest_api_enabled?'
app/controllers/application_controller.rb:121:in `find_current_user'
app/controllers/application_controller.rb:102:in `user_setup'


Replies (2)

RE: sanitize_forbidden_attributes - Added by Lucile Quirion over 9 years ago

Hi,

Which rails / ruby / plugins are you using ?
Could you run

ruby script/about

...as specified in the Submission guidelines.

Thanks

RE: sanitize_forbidden_attributes - Added by pacolotero pacolotero over 9 years ago

Environment:
Redmine version 3.0.0.stable
Ruby version 2.2.0-p0 (2014-12-25) [x86_64-linux]
Rails version 4.2.0
Environment production
Database adapter PostgreSQL
SCM:
Git 1.8.5.5
Filesystem

Without plugins

    (1-2/2)