This week in Rails
Past issues
Jun 6
Jun 18
Jun 11 2021
Active Storage audio improvements and more
Hi,
Wojtek
here with the summary of changes from the last week.
Add audio analyzer to Active Storage
It extracts duration and bit rate of audio files and stores it in the record metadata column.
Recognize audio presence in the video blobs
The
metadata
attribute of video blobs has a new boolean key named
audio
that is set to
true
if the file has an audio channel and
false
if it doesn't.
Add attributes_for_database to Active Record
Returns attributes with values for assignment to the database. It works both for Active Record and Active Model objects.
Get rid of cattr_accessor in ActiveRecord::Base
More work on improving performance by eliminating class variables. This is a followup to
previous change
where detailed benchmark can be found.
23 people
contributed to Rails since last time. All the changes can be checked
here
. Until next week!
Previous Issues
Sep 27
Autumn is here, and so is Rails 7 Alpha 2! 🍂
Sep 17
Rails 7 alpha released
Sep 11
Bye-bye Byebug, Hello jsbundling and cssbundling!
Aug 28
Remove default reliance on Sass and more!
Aug 21
Good-bye classic mode, --skip-puma, --skip-gemfile.. hello weekday_options_for_select!
Aug 13
ESM importmap and Marginalia
Aug 8
Active Record goodies and more!
Jul 31
Favicons, InvalidAuthenticityToken message gains, Journey optimizations and more!
Jul 23
Active record improvements and much more
Jul 19
Performance and parallel testing improvements and more!
Load More