This week in Rails
Past issues
Subscribe
Nov 13
Nov 30
Nov 23 2020
Bugfixes, improvements and more!
Hey, this is
Greg
, bringing you the latest news about Ruby on Rails!
Fix db:schema:load when table definition contains partitions
This PR fixes a bug with loading the schema to MySQL if the schema contains table definitions with partitions.
Add strict loading to Active Storage
The
strict_loading
option has been added to Active Storage, you can enable it like this:
has_one_attached :logo, strict_loading: true
has_many_attached :images, strict_loading: true
Fixed odd behavior of inverse_of with multiple belongs_to to the same class
An issue was introduced when foreign key validation was added to automatic_inverse_of and it is fixed by this PR. You can find an example and detailed explanation on the PR itself.
Use FFmpeg scene detection for video previews
This PR adds FFmpeg scene detection to Active Storage video previews. There are some test results on the PR to see how it works.
17 people
contributed to Rails since last time, have a look at the
open issues
and become one of them! Until next week!
Previous Issues
Jan 24
Defaults to "main" branch name, new webpacker guide and improved strict loading
Jan 11
Hello 2021: Sole record, Same form multiple verbs, Validator with range, Rich text control
Dec 20
Rails 6.1, benchmark anywhere, bugfixes and more!
Dec 4
Rails 6.1 RC2 and some enhancements
Nov 30
New Active Record and Action View capabilities, bug fixes and more!
Nov 23
Bugfixes, improvements and more!
Nov 13
Enhanced strict loading, multiple databases and more!
Nov 2
Multiple database improvements, bugfixes and more!
Oct 23
Active Record values_at and cache improvements
Oct 19
New API Docs site, configurable cache coder, bug fixes, and more!
Load More