You’re not receiving notifications from this thread.
New Project Rails 6 rc1 or 5.2.3?
I am starting a new project soon (not a toy project) and wanted advice as to what version to start it in for Rails? Knowing i will do my best to keep it up to date with versions, should i start the project with Rails 6 rc1 or Rails 5.2.3. Is the updating process easier on either when Rails 6.0 is released?
Rails 6 should be just around the corner once they fix a couple of bugs/regressions. Since you probably won't be finished with your app by then, you won't have to worry about the upgrade if you start it in Rails 6 rc1 and you get to take advantage of the new features in Rails 6 if you want.
I've been using Rails 6 for a few projects for a couple months now and it's been very solid.
@Chris what version or Rails and Webpacker are you using? I have a hard time make Rails 6 rc1 + Webpacker 4.0,6 work.
When I run my app I get the following error
decode.js:32 Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>' at Module.<anonymous> (decode.js:32) at Module../node_modules/querystring-es3/decode.js (decode.js:88) at __webpack_require__ (bootstrap:19) at Object../node_modules/querystring-es3/index.js (index.js:3) at __webpack_require__ (bootstrap:19) at Object.<anonymous> (client:6) at Object../node_modules/webpack-dev-server/client/index.js?http://localhost:3035 (client:337) at __webpack_require__ (bootstrap:19) at Object.0 (log.js:47) at __webpack_require__ (bootstrap:19)
Webpacker is currently having some issues. You can check their latest issues to see a discussion on it. I think they're getting closer to having a solution.
This may be useful for others: https://github.com/rails/webpacker/issues/2114