Rails Foundation Contributing Member
Ruby on Rails consulting from engineers who work deep in Rails.
Saeloun helps teams modernize Rails applications, improve performance, untangle production issues, and ship product work with a senior Rails and React team in Boston and Pune.
- 599+
- engineering articles
- 2019
- founded in Boston
- Rails
- Foundation member
Latest Rails, React, and engineering articles
Field notes on framework changes, performance, upgrades, testing, and product engineering.
Rails 7.2 app:update as Rails Command
The app:update task to be a Rails command, and adds the --force flag to it, to allow running bin/rails app:update while accepting all the changes it makes.Rails after_all_transactions_commit Callback
Rails 7.2 adds after_all_transactions_commit to safely run actions like job enqueuing only after all transactions are committed.Rails with_connection for DB Optimization
Rails 7.2 adds with_connection to lease database connections only for a block's duration, improving concurrency for IO-heavy apps.Ruby 3.4 Makes "it" As Default Block
To add more readability Ruby makes "it" as a default block parameter.BatchEnumerator#destroy_all Returns Count
Rails 7.2 enhances BatchEnumerator#destroy_all to return the count of destroyed records.Rails 7.2 Blob#compose Custom Key Support
Rails 7.2 allows to add custom blob key in the ActiveStorage::Blob APIsRuby 3.4 Keyword Args in Index SyntaxError
Passing keyword arguments in index to an array set methods throws SyntaxError.Explore new hooks coming up in React 19
React 19 introduces useActionState, useFormStatus, useOptimistic, and use hooks for better form handling.Rails 7.2 order Supports Hash Values
With Rails 7.2, ActiveRecord::Relation#order supports hash values where keys are table name, value is a hash of key (column name) and value (order direction).Rails 7.2 PG Adapter Date Type Casting
Rails 7.2 adds a Date decoder to the PostgreSQL adapter to type cast date columns to Ruby Date.