drewkeller/redmine_digest — Issue #15: Does not install into redmine 1.2.2
Author: cmouse
Created: 2011-11-18 15:08:30+00:00
State: open

When trying to install, gives following error

```
# rake --trace db:migrate_plugins RAILS_ENV=production
(in /usr/share/redmine)
rake aborted!
undefined method `safe_attributes' for #
/usr/lib/ruby/1.8/active_record/base.rb:1959:in `method_missing'
/usr/share/redmine/vendor/plugins/redmine_digest/lib/redmine_digest/user_patch.rb:15:in `included'
/usr/share/redmine/vendor/plugins/redmine_digest/lib/redmine_digest/user_patch.rb:10:in `class_eval'
/usr/share/redmine/vendor/plugins/redmine_digest/lib/redmine_digest/user_patch.rb:10:in `included'
/usr/share/redmine/vendor/plugins/redmine_digest/init.rb:17:in `include'
/usr/share/redmine/vendor/plugins/redmine_digest/init.rb:17:in `send'
/usr/share/redmine/vendor/plugins/redmine_digest/init.rb:17:in `evaluate_init_rb'
/usr/lib/ruby/1.8/active_support/callbacks.rb:182:in `call'
/usr/lib/ruby/1.8/active_support/callbacks.rb:182:in `evaluate_method'
/usr/lib/ruby/1.8/active_support/callbacks.rb:166:in `call'
/usr/lib/ruby/1.8/active_support/callbacks.rb:90:in `run'
/usr/lib/ruby/1.8/active_support/callbacks.rb:90:in `each'
/usr/lib/ruby/1.8/active_support/callbacks.rb:90:in `send'
/usr/lib/ruby/1.8/active_support/callbacks.rb:90:in `run'
/usr/lib/ruby/1.8/active_support/callbacks.rb:276:in `run_callbacks'
/usr/lib/ruby/1.8/action_controller/dispatcher.rb:51:in `send'
/usr/lib/ruby/1.8/action_controller/dispatcher.rb:51:in `run_prepare_callbacks'
/usr/share/redmine/config/../vendor/rails/railties/lib/initializer.rb:631:in `prepare_dispatcher'
/usr/share/redmine/config/../vendor/rails/railties/lib/initializer.rb:185:in `process'
/usr/share/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
/usr/share/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
/usr/share/redmine/config/environment.rb:44
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
/usr/lib/ruby/1.8/active_support/dependencies.rb:156:in `require'
/usr/lib/ruby/1.8/active_support/dependencies.rb:521:in `new_constants_in'
/usr/lib/ruby/1.8/active_support/dependencies.rb:156:in `require'
/usr/share/redmine/vendor/plugins/redmine_digest/lib/tasks/digest.rake:31
/usr/lib/ruby/1.8/active_support/dependencies.rb:145:in `load_without_new_constant_marking'
/usr/lib/ruby/1.8/active_support/dependencies.rb:145:in `load'
/usr/lib/ruby/1.8/active_support/dependencies.rb:521:in `new_constants_in'
/usr/lib/ruby/1.8/active_support/dependencies.rb:145:in `load'
/usr/share/redmine/vendor/rails/railties/lib/tasks/rails.rb:8
/usr/share/redmine/vendor/rails/railties/lib/tasks/rails.rb:8:in `each'
/usr/share/redmine/vendor/rails/railties/lib/tasks/rails.rb:8
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
/usr/share/redmine/Rakefile:10
/usr/lib/ruby/1.8/rake.rb:2383:in `load'
/usr/lib/ruby/1.8/rake.rb:2383:in `raw_load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2017:in `load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2016:in `load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2000:in `run'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1998:in `run'
/usr/bin/rake:28
```