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 6.1 Role Switching and Sharding
Rails 6.1 has added support for switching connections for one database instead of all databasesRails 6.1 Background Dependent Destruction
Rails 6.1 adds dependent: :destroy_async to delete associated records in background jobs.Rails 6.1 Configurable Attribute Defaults
With Rails 6.1, we can set attribute's default value by keeping the type sameRuby 3.0 adds `Hash#except` and `ENV.except`
Ruby 3.0 adds `Hash#except` to return a new hash that includes everything from the original hash except the given keys. `ENV` also gets support for `except`.Rails Deprecates db:structure Tasks
Rails deprecates db:structure:load and db:structure:dump tasks in favor of db:schema tasks with schema_format config.Rails Allows Prepending Concerns
This blog post discusses the concept of prepending in Ruby and prepending concerns with the help of Active Support in Rails.Ruby Adds Leading Arguments with Forwarding
... operator was limited to forwarding arguments. With Ruby 3.0, it can forward the arguments along with the leading arguments.Rails Adds Default Value to Rich Text Area
Rails has added support for adding a default value to the form field of type rich text area.Ruby 3.0 Adds Symbol#name Method
Ruby has added `Symbol#name`, which returns the name of the symbol if it is named. The returned string can not be modified.Rails db:migrate:name Behavior Changes
Rails now dumps schema and resets ActiveRecord::Base connection when running db:migrate:name.