New Rails project - Rails2 or Rails3?

I have a new project that I need to build. I want to at least start with it at the end of this month. So which version should I use? Should I just stick with stable Rails2 or try to use Rails3 so I don't have to migrate later? Which one will you suggest to someone who is still learning Rails?

+4
source share
4 answers

Rails 3 will definitely not have the resources available to it, which Rails 2 does, and Rails 3 will continue to change quickly, so if you are not particularly happy to get support from the source code, I would stick with Rails 2

+6
source

I know that you have already accepted Rails 2, but I still throw this:

I am using Rails 3 for my new projects and have not noticed any significant errors. Of course, I used only popular stones and plugins, so they already have dedicated commands that made them compatible with Rails 3.

You can pretty easily check if your plugins are compatible on RailsPlugins.org . Some may need to use a specific Rails 3 branch from Github, so be sure to check the comments for reports that say β€œWork.”

Until you use something terribly obscure, you should be fine with Rails 3, which is a fantastic part of the work of the Rails team. Arel makes my day every day.

+3
source

Rails 3 will not be in beta before it drops out this year, and I think that could change. Rails 2 works very well and you don’t need to debug unstable code during training. Many tools, gems, etc. Not migrated yet.

0
source

I agree with both of you.

You must use rails2. Rails3 is still in beta, and many problems may be related.

In my company, we switched to rails3, and this is stupid. We spend a lot of time debugging / modifying plugins for rails3 ...

Now it's up to you to make your choice :)

0
source

Source: https://habr.com/ru/post/1309882/


All Articles