Monday, October 11, 2010

[Rails] Re: to change ruby187 code on rails 235 to ruby192 on rails3

Premanshu Mishra wrote:
>
> Hi Railsers,
>
> I want to transport my codes written using ruby 1.8.7 on rails 2.3.5 to
> ruby 1.9.2 on rails 3.0.0
>
> Any help would do wonders...

Hmm. Here's the way I'll probably do it when I upgrade my projects:

1. Install RVM.
2. Install Ruby 1.9.2 and Rails 3 under RVM, so I can flip back and
forth between the two versions of the project.
3. Run with Ruby 1.9.2/Rails 3 and see which tests fail.
4. Pick one failing test and make it pass.
5. Refactor as necessary.
6. Repeat steps 4 and 5 till done.
7. Tidy up anything else that needs it.

>
> Regards,
> Premanshu

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
--
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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate