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.1 allows resetting singular
Query database again to retrieve the associated record by resetting the cache on singular associations.What is New in Ruby 3.3: Key Features
Ruby 3.3 boasts performance boosts with faster YJIT, M:N threads, RJIT compiler, Prism parser, and IRB improvements.Rails ErrorReporter#unexpected Method
The new method will report in production but raise in other environments, making it easier to debug.Rails 7.1 Disable Enum Auto-Methods
Disable auto generated methods of ActiveRecord.enum with instance_methods by passing false to it.Upsert Respects on_duplicate with unique_by
Upsert would previously not execute the on_duplicate clause if the unique_by constraint found a match. This has been fixed.Ruby 3.3: String.dup Now as Fast as String#+
Ruby 3.3 optimizes String.dup to match the speed of String#+, allowing developers to choose based on preference without sacrificing performance.ActiveStorage Pre-processes PDFs & Videos
Rails now pre-processes previewable files such as PDFs and videos. Previously it only pre-processed images.Rubygems :file Option for Ruby Version
Rubygems introduced a :file option so that we can read the Ruby version from a file.Rails 7.1 path_params for url_for
path_params allows specified params to be used exclusively for named segments under scoped routing without unnecessarily appending parameters to every URL.JS Object.groupBy and Map.groupBy Methods
This blog explains the features of the latest ECMAScript proposal Object.groupBy and Map.groupBy that reached stage 4.