Updating to 2.3.2 to get nice features ?
Thanks to all Rails Core team,Now my own experience upgrating from 2.1.2 to 2.3.2:
Lets begin:
1/
READ THIS !!! MUST !!
2/
To update has_many_polymorphs go to here.
3/
To update output_compression plugin (output_compression.rb):
replace ActionController to Rack
replace class AbstractRequest to ActionController::Request
4/
To patch Globalize:
in vendor/pligins/globalize/lib/globalize/rails/action_view.rb
update:
alias_method :globalize_old_render_file, :render_file
to
alias_method :globalize_old_render_file, :render
AND
in /pligins/globalize/lib/globalize/localization/db_translate.rb
add :having key to options array
VALID_FIND_OPTIONS = ...
line 794 approximately.
x/
RUN:
rake rails:update
x/
Replace all render_file => "foo" to render :file => "foo" if any.
x/
Instead of config.action_controller.session = { :session_key => 'foo', ... use config.action_controller.session = { :key => 'foo', ....
x/
Use:
class ActionController::Request
instead of:
ActionController::AbstractRequest
and ruby script/server !
if anything ok, run your tests ..
Useful:
Rack module
Let me know if you encounter more "bugs" while patching to 2.3.2 ..
No comments:
Post a Comment