Ruby on Rails
Wednesday, August 1, 2012
I have recently gone down this rabbit hole, and one piece of advice I got was to do it in stages. First, make sure you have working tests for everything. Next, upgrade 2.3 as far as it will go, since that will shake out some 1.8.6 to 1.8.7 bugs. Then upgrade from 2.3.latest to 3.0 (there's a railscast covering this). Then go to 3.1, and finally to 3.2. It only seems like more work to do it in this way. You may discover that trying to do it in one jump is either impossible, or more work than starting over from scratch.
Walter
Walter
Upgrading from Rails 2.x to Rails 3.x could be a challenge. You simply got to investigate yourself whether the gems you were using in 2.x version are compatible with Rails 3.x, if so, then errors are simply telling you that something have changed and you got to update your code.
It is also unlikely that that's the only problem related to migration from 2.x to 3.x; that's why I believe you got to learn it yourself, only asking questions that got you stuck for a long time.
2012/8/1 deal bitte <lists@ruby-forum.com>Do u have an idea as to how I can change my code in order to make it
work?
Gintautas S. wrote in post #1070904:
> That's two params: Symbol (:procedureexecutions), followed by a hash
> (which
> omits {}): :label => "Run", :inline
> => false )
>
> So that's fine.
>
> 2012/8/1 deal bitte <lists@ruby-forum.com>
>
>> >> here. It worked in Rails 2.3.5> --
>>
>>
>>
>>
>
>
> Pagarbiai,
> Gintautas
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Pagarbiai,
Gintautas
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment