Yo folks! Your noble editor Kasper here with the latest and greatest from Rails.
Check the fine print 📰
The –javascript option for new Rails apps could install any gem ending in -rails. From now you’ll have to add jquery-rails to your Gemfile manually.
The new documentation now has the answer to life the universe and everything.
Your system testing test case subclasses all have a designated driver. Now you can designate another driver in case the test case calls for it.
One for the aesthetics department: with_defaults has emerged as an alias for_reverse_merge_. So now_options.with_defaults(creator: @current_user)_makes your intent clearer.
Once Rails 5.1 ships proper you’ll be able to require rails-ujs from your JS again.
There were many other great pull requests this week from 45 contributors, including 8 first-timers. Thank you all!
Until next week!