Rails Chronicles

Subscribe
Archives
February 28, 2022

The Monthly Monitor: Aim for excellence, not perfection.

Hi Friends,

How is it going? I had some time off since my last newsletter and major life update.

Dev Joke

Bobs-work-from-home-vs-office.png

source

Reading/watching list

  • Deconstructing React
  • Good advice on JSX conditionals
  • The Ruby Compiler Survey
  • Lesser Known PostgreSQL Features. Features you already have but may not know about!

Rails changelog

  • Rails 7 adds update_attribute! to ActiveRecord::Persistence
  • Rails 7 adds TestCase#stub_const
  • Rails 7 adds model name prefix for encrypted attributes when used with filter_parameters
  • Rails 7 reduces the memory footprint of fixtures accessors
  • Rails 7 fixes config.active_record.destroy_association_async_job configuration
  • Rails 7 fixes change_column_comment to preserve column's AUTO_INCREMENT in the MySQL adapter
  • Rails 7 handles quoting of Rational numbers for MySQL
  • Rails 7 allows column name with COLLATE as safe SQL string
  • Rails 7 fixes PG.connect keyword arguments deprecation warning on ruby 2.7
  • Rails 7 redirect_to return an empty response body
  • Rails 7 ensures models passed to form_for attempt to call to_model
  • Rails 7 saving attachment(s) to a record returns the blob/blobs object

My Open-source libraries/contributions

  • Boring Generators - Adds flipper install generator - Update bootstrap generator to support Bootstrap 5
  • React Trix RTE - Fixes multiple instances of Trix editor triggering same onChange event

Happy coding folks. You can reach out to me on Twitter for anything and I’ll be happy to chat. Don’t hesitate.

Don't miss what's next. Subscribe to Rails Chronicles:
This email brought to you by Buttondown, the easiest way to start and grow your newsletter.