This is the first in a series(???) of posts detailing things that I’ve found in the process of updating rails (and other plugins/gems) for an application. Due to politics, it’s using JRuby, running inside a JBoss container, with a Derby backend.
Things which are getting updated include:
- Rails
- ActiveRecord-JDBC
- ActiveScaffold
- ActiveScaffoldExport
- Goldspike is being replaced with Warbler
Here’s a list of what I’ve encountered thus far:
- Due to an issue with older versions of activescaffoldexport, I’d had to explicitly list the plugin order in the environment.rb file. This is because activescaffoldexport (now named active_scaffold_export) came alphabetically before active_scaffold. So when I removed goldspike and installed the new plugin, this needed to be updated.
- I needed to run a rake rails:update to update to the latest version.
- I needed to edit the environment.rb for active_scaffold — these two lines:
12require 'helpers/view_helpers'require 'helpers/controller_helpers'
need to be replaced by:
12require "#{File.dirname __FILE__}/lib/helpers/view_helpers"require "#{File.dirname __FILE__}/lib/helpers/controller_helpers" - Deprecated functions used in various plugins need to be updated/rewritten. Those will be detailed later.
I’ll add updates as I come across them.