Feature #3597
closedRails 2.3.4 support
100%
Description
Redmine is falling behind times.. Rails 2.3 has been stable for a while and needs to be supported
Files
Related issues
Updated by Jean-Philippe Lang over 15 years ago
Redmine 0.9 will use Rails 2.3.
Can you explain why you need Rails 2.3 support ?
Updated by Slava Mikerin over 15 years ago
Rails 2.3 is the latest stable version and needs to be supported regardless of MY needs. There are plenty of reasons why 2.3 is preferable. However I already found the rails 2.3 supported version [http://github.com/asoltys/redmine/commits/rails_2-3-2_compatibility]
Updated by Eric Davis over 15 years ago
Slava Mikerin wrote:
Rails 2.3 is the latest stable version and needs to be supported regardless of MY needs.
I disagree with your reason but not the request. While I would like to have some new features in Rails 2.3, upgrading just because there is a new version will cause a lot of extra work for already time constrained developers. One issue that really needs to be checked is Redmine plugin compatibility. Rails 2.3 and Rails Engines changed a lot in this release and I'm expecting some major breakage that all plugin authors will have to fix (e.g. routes.rb
).
I'd suggest waiting for Rails 2.3.3 to come out. It has been promised any day now and is supposed to include some bug fixes for 2.3.2.
Updated by Eric Davis over 15 years ago
- Subject changed from Rails 2.3 support to Rails 2.3.3 support
- Status changed from New to 7
- Assignee set to Eric Davis
- Target version set to 0.9.0
Rails 2.3.3 is out, so we should see about upgrading now. I'll take it since I'll be able to test my plugins and fix any incompatibilities.
Updated by John McBade about 15 years ago
- File production.log production.log added
I have been trying to install Redmine on a Hostgator server and they are running Rails 2.3.3. The lastest Redmine I have is: redmine-0.8.4
I get an error page generated by Redmine (404 error)
Quote:
The page you were looking for doesn't exist.
You may have mistyped the address or the page may have moved.
Unquote:
I attached a production log that shows it's a routes.rb issue? (Sorry, new to Ruby)
While we are waiting for .9, is there any work around for this? Hostgator is not going to let me downgrade Rails :)
Thanks,
-John
Updated by Eric Davis about 15 years ago
- Subject changed from Rails 2.3.3 support to Rails 2.3.4 support
John McBade:
Redmine 0.8.4 will not work with Rails 2.3, you need to use Rails 2.1.2. If you run rake rails:freeze:edge RELEASE=2.1.2
, Rails will download and extract the 2.1.2 version of Rails to vendor/rails
. Upload that to Hostgator and Redmine will work. Redmine loads Rails from that directory first, before loading the one installed on the server.
In other news, I'm working on getting Rails 2.3.4 working on trunk.
Updated by Eric Davis about 15 years ago
- File redmine-upgrade-to-rails-2.3.4.patch redmine-upgrade-to-rails-2.3.4.patch added
- File redmine-upgrade-to-rails-2.3.4-commit-logs.txt redmine-upgrade-to-rails-2.3.4-commit-logs.txt added
- Due date set to 2009-09-13
- % Done changed from 0 to 100
I've completed the upgrade to Rails 2.3.4 and would like to get some feedback and testing before I push it into the trunk. There wasn't a lot of external changes but there were some tricky internal changes:
- Rails 2.3 removed the TamperedWithCookie exception
check_box_tag
andhidden_field_tag
behave differently now so their placement had to be swapped in the html- The format of
storage_units
I18n strings were changed. I believe I've fixed the translations but I'd like to get a quick review from the translation team on them. TabularFormBuilder
was overwriting I18n strings in the testing runtime with HTML values- Part of Rails Engines is now in the Rails core, so I had to create a new plugin to allow Redmine plugins to override views.
- Redmine plugins that use a
routes.rb
will need to update it to the Rails 2.3 format.
The upgrade is on my rails-2.3 branch on GitHub. A patch and commit log is attached for review. I'd like to push this into trunk next weekend (September 12-13th) unless a critical bug is found.
Thanks
Updated by Eric Davis about 15 years ago
- Status changed from 7 to Closed
Merged in my Rails 2.3.4 branch into trunk at r2887.
Updated by Eric Davis about 15 years ago
- Tracker changed from Defect to Feature
Updated by Etienne Massip about 15 years ago
Using svn trunk, I still got the issue described here http://www.redmine.org/boards/2/topics/8411 running either mongrel or rake until I set the RAILS_GEM_VERSION property to '2.3.2' in environment.rb.
Updated by Etienne Massip about 15 years ago
- Status changed from Closed to Reopened
Updated by Eric Davis about 15 years ago
- Status changed from Reopened to Closed
Etienne Massip wrote:
Using svn trunk, I still got the issue described here http://www.redmine.org/boards/2/topics/8411 running either mongrel or rake until I set the RAILS_GEM_VERSION property to '2.3.2' in environment.rb.
Please don't reopen features if there is a bug. If that happened, every bug would end up being listed in the comments and will lose track of which bugs are fixed or still open. Go ahead and open a new Bug and include a link to the forum post and this issue.
Thanks