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.
- 606+
- 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.
Using Optimizer Hints in Rails
Optimizer Hints allows us to control the query optimizer of a database system. Rails 6 has added support to provide Optimizer Hints.Rails 6.1 Adds stream_or_reject_for
Rails 6.1 adds `ActionCable::Channel#stream_or_reject_for` to stream or reject connection based on presence of recordHeredocs in Ruby and Rails Explained
What are heredoc and different ways to use them in Ruby and Rails.Rails Deprecates return/break in Transactions
Rails has disallowed using return, break and throw for exiting early from a transaction and having it committed.Rails Relation#pick Uses Loaded Results
Rails ActiveRecord::Relation#pick now uses already loaded results instead of making a new query everytime.Rails Adds :from/:to to previously_changed?
Rails Active Model Dirty method [attribute_name]_previously_changed? now accepts :from and :to arguments just like [attribute_name]_changed?Rails Adds Schema Cache Path Configuration
Rails now exposes a new configuration for specifying the location of the schema cache file. This can be done in database.yml using schema_cache_path key.Rails Action Cable Adds Stream Unsubscribe
Rails adds ActionCable::Channel#stop_stream_from and ActionCable::Channel#stop_stream_for methods to allow user to unsubscribe from specific streamRails Adds round_mode to Number Helpers
Rails has added :round_mode parameter support to number helpersRuby 2.7 Warns Setting $ Special Variables
In Ruby 2.7, setting special variable $, $; $/ $\ to non-nil values will now show a deprecated warning