Reputation: 34513
Has anyone had any experience porting from Rails 2.3.x to Rails 3.x?
Any pitfalls to be aware of or suggestions you could make?
Thanks!
Upvotes: 3
Views: 391
Reputation: 107728
I did an upgrade over a week in November and documented the process (after the fact, going by the commits) in this post: http://ryanbigg.com/2010/11/the-rails-3-upgrade. Pan's answer covers most of the problems that we encountered.
Upvotes: 0
Reputation: 184
I encourage you to take a look at the rails_upgrade gem (https://github.com/rails/rails_upgrade) written by the same guy how wrote the Rails 3 Upgrade Handbook. Very helpfull.
Upvotes: 0
Reputation: 34350
There are lots of online resources about performing this upgrade. From firsthand experience the issues that arise most and first are:
rails console
, rails db
and rails generate
.Upvotes: 2
Reputation: 124419
You might check out the Rails 3 Upgrade Handbook by Jeremy McAnally. 120-page handbook with tons of information on upgrading. Well worth the price, for sure.
Upvotes: 3