Rails 5.1: Awesome Features and Breaking Changes
summary
Claims upgrade effort halves previous cycle: ~9 months and ~4,000 commits, not a trivial patch. Rails 5.1 ships Yarn by default and a webpacker convention (packs, dev server), removes jQuery as a required dependency by replacing jquery-ujs with rails-ujs, adds delegate_missing_to, BigInt primary keys and MySQL virtual columns, Unicode 9 string fixes, a unified form helper form_with, built‑in encrypted secrets via rails secrets:setup, and integrated Capybara system tests with screenshots and concurrent runners.
AI-written summary · about
chapters (14)
- 0:00Intro
- 2:33Change Action View ERB handler from Erubis to Erubi
- 5:58primary keys to BIGINT
- 6:24support for MySQL and MariaDB
- 7:47limits in batch processing
- 12:57Action View's tag helpers
- 17:21name in "rails initializers"
- 18:07section to config/secrets.yml
- 19:48secrets in config/ secrets.yml.enc
- 25:17Baltie Add Yarn support in new apps using --yarn option
- 28:30Balto Basic --webpack delegation to new webpacker gem
- 31:49with Rails (AKA System Tests)
- 34:40and polymorphic mapping
- 38:44Rails 5.1: awesome features & breaking changes








