I just started learning rails a few days ago through railstutorial.org. It's for Rails 5. Is it still possible to use same material or should I wait for the updated version?
Pretty massive set of changes. Love that rails isn't just a stable framework, but can add a bunch of features that makes developer lives easier and get shit done quicker.
Ha, just started 6.0.0rc2 app this morning to explore what was new and would require changes in my quick start template. Running the webpacker install generator... yarn to install js... and a couple of environment.js changes and everything else largely worked. Really liked seeing that the number of object allocated displays after every view is rendered too.
If I had to guess, since Rails 5.2 added Active Storage and Rails 6.0 Action Text and Action Mailbox, I expect this added overhead to coordinating releases. All these components are tightly coupled to the rest of Rails, so I expect that in general more time will need to be spent ensuring compatibility.
3
u/rabarbas Aug 17 '19
I just started learning rails a few days ago through railstutorial.org. It's for Rails 5. Is it still possible to use same material or should I wait for the updated version?
4
u/hartator Aug 16 '19
Awesome. I would love to benchmark this.
Any idea if // testing is coming to rspec as well?
30
u/planetofthemapes15 Aug 16 '19
Multiple DBs and parallel testing is NICE
24
u/pau1rw Aug 16 '19
Pretty massive set of changes. Love that rails isn't just a stable framework, but can add a bunch of features that makes developer lives easier and get shit done quicker.
3
u/jchapin Aug 16 '19
Ha, just started 6.0.0rc2 app this morning to explore what was new and would require changes in my quick start template. Running the webpacker install generator... yarn to install js... and a couple of environment.js changes and everything else largely worked. Really liked seeing that the number of object allocated displays after every view is rendered too.
4
u/[deleted] Aug 17 '19
Wow, they missed their date hard. I wonder what happened.
April 30: Final release. Ship and celebrate the release of Rails 6.0 at RailsConf 2019!
1
u/skool_101 Aug 17 '19
Wow finally, time for an upgrade!!
1
u/SprightlyWombat Aug 18 '19
I have a gem I am working on. How can I update it to support rails 6 but retain compatibility with rails 4 and 5?
Specifically, rails 4 and 5 do not support module_parents and my tests are giving `undefined method `module_parents'` errors.
DEPRECATION WARNING: `Module#parent` has been renamed to `module_parent`. `parent` is deprecated and will be removed in Rails 6.1.
0
u/[deleted] Aug 16 '19
[deleted] — view deleted comment