This week in Rails
Nov 23 2020
Bugfixes, improvements and more!
Hey, this is
, 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
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.
contributed to Rails since last time, have a look at the
and become one of them! Until next week!