Redmine 2 / Rails 3 compatibility
Just tried to install the redmine-settings plugin into a Redmine 2 installation because I’m using it in one of my plugins.
Unfortunately, it isn’t compatible anymore since a few things changed with Rails 3.
I fiddled around with it for a bit and got so far to come up with this diff to at least avoid throwing exceptions. But still I had to add a manually-defined route for my settings page in my plugin and the view doesn’t show up anymore after the upgrade.
-require 'dispatcher' -RAILS_DEFAULT_LOGGER.info 'Starting Project Settings Hook Plugin for Redmine' +::Rails.logger.info 'Starting Project Settings Hook Plugin for Redmine' -Dispatcher.to_prepare :project_settings_hook_plugin do +Rails.configuration.to_prepare do
Do you have any plans to support Redmine 2 or should I roll my own settings hook?
#2 Updated by Michael Irgendwer about 7 years ago
+1 for making it redmine 2 compatible
I think especially as due to the recent security bugfixes for rails (and the resulting redmine updates) even more people would want to switch to redmine 2.2.x And for them (as for us) it is important to be able continuing using the plugins which in turn depend on your project
Having Marcus Ilgner airbrake exception notification working again would be really great, so thanks for the effort you put (and will put into this.