DEV Community

Ian bradbury
Ian bradbury

Posted on

Rails 5 or 6?

Is anyone using Rails 6 on a live project yet? Or considering moving to 6?

Just starting a new project and am not persuaded to move over to 6. Just wondered what others are thinking.

Top comments (3)

Collapse
 
lucasprag profile image
lucasprag

I know that there are companies using Rails 6 since its first release candidate. Now that the version 6.0.1 is released, I'd have no concerns on starting a project where you don't have much time to debug using Rails 6.0.1.

Could you elaborate a bit more in your concerns please? =)

Collapse
 
bizzibody profile image
Ian bradbury

My main concerns revolve around the webpack integration and the difficulty in getting that right. And you know, being a new version there will be effort to get comfortable to the changes. No other concerns really.

Collapse
 
lucasprag profile image
lucasprag

Interesting 🤔

  • regarding webpack integration

by getting that right, do you mean in a specific configuration?

If want to use react or something you could create your app like this and it works really well:

rails new myapp --webpack=react --skip-sprockets

All your js is going to be on app/javascript/

Also, if your app gets too large in the future, you could move the front-end to a different repo quite easily

  • being a new version Rails is quite madure, there aren't much breaking changes, and hopefully you will probably continue to work as always.

Do you have any specific change in mind?