alexbevi / redmine_knowledgebase

A knowledgebase plugin for Redmine
453 stars 197 forks source link

Redmine 4.x Rails 5.2 support #368

Closed ssrini closed 5 years ago

ssrini commented 5 years ago

The plugin cannot be used with Redmine 4.x due to the upgrade to Rails 5.2.

One specific issue was this: The application encountered the following error: undefined method type_cast_for_database for class ActiveRecord::ConnectionAdapters::Column (NameError)

The relevant line from articles_controller.rb: ActiveRecord::ConnectionAdapters::Column.send(:alias_method, :type_cast, :type_cast_for_database)

Any chance if this plugin will be upgraded to support Redmine 4.x?

vladislav-yashin commented 5 years ago

You can try this fork

ssrini commented 5 years ago

Thanks. This worked perfectly.