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.
- New Active Record syntax
- Very sexy routing
- 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.
精彩评论