开发者

Which version of Rails should I use

开发者 https://www.devze.com 2023-01-09 08:23 出处:网络
I\'m looking to build a web interface for an existing Ruby app and I\'m trying to figure out which version of Rails to use -开发者_如何学Python the latest current version 2.3 or the soon-to-be-release

I'm looking to build a web interface for an existing Ruby app and I'm trying to figure out which version of Rails to use -开发者_如何学Python the latest current version 2.3 or the soon-to-be-released version 3.0.

The reasons for using 2.3 are pretty straightforward: it's the current version and it's stable.

My reasons for considering 3.0 are:

  • My app uses Ruby 1.9 and Rails 2.3 does not seem to support Ruby 1.9
  • Rails 3.0 is supposedly a major rework of the framework. If I'm starting a new project now I figure I may as well do it 'right' the first time rather than have to migrate it when I'm ready to move to Rails 3.0.

Is 3.0's feature set really so much better? Is it stable enough for use or am I only asking for trouble? Anyone have any idea how hard it will be to migrate to 3.0 from 2.3?


Rails3 has already been released. Using it in production now. Most plugins have been updated for it. Pros: Speed, new Active Record interface, routes, mailer, more semantic, better integration with Rack.

The list goes on and on.

The key would be that Rails 3 is pretty debugged/tested at this point and ready for production use.


What kind of timeframe are you looking at?

You may want to read this thread to see what some Rails individuals think about communicating progress with Rails 3. :(


Rails 3 has since been released: Rails 3.0: It's ready!


As per stability Rails 2.3.5 is good with Ruby 1.8.7. Rails 3 and Ruby 1.9.1 are out, but have not had extensive testing for stability. For the sake of stability use the combination of Rails 2.3.5 and Ruby 1.8.7

0

精彩评论

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