开发者

What are the main advantages/benefits of upgrading from Rails 2.x to 3.x? Should we wait for the next release?

There are lots of sites documenting the new features in Rails 3.x, like here: http://edgeguides.rubyonrails.org/3_0_release_notes.html.

But we are curious to know what people consider the main advantages of Rails 3.x over 2.x, and more importantly, whether people considered their upgrade worth it (i.e., would they do it again, given the choice, or would they wait for the next release)?

In particular, performance seems to be a primary benefit highlighted with 3.x, but have people actually experienced a speed increase with th开发者_StackOverflow中文版e new release?

Thanks!


I think you should.

  1. New Active Record syntax
  2. Very sexy routing
  3. And tasty bundler

Only those three 3 points for me makes my life better :) Of course there are more beautiful things in new Rails


Rails 3 is leaps and bounds better than Rails 2. The new ActiveRecord implementation and improved routing are quite good at cleanly expressing code that would be considerably messier in Rails 2.

The bundler (combined with rvm) is the real kick in the pants, however. With it you can be much more cavalier about messing around with gems, which translates to less brittle, more up-to-date libraries.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜