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.
- 602+
- 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 adds db:prepare rake task
Rails 6 adds db:prepare rake task which creates the database, loads the schema, runs the migrations and initializes with the seed dataRails 6 adds Relation#reselect
Rails 6 add a reselect method to Relation. This is a short-hand for "unscope(:select).select(fields)".Rails 6 Array including & excluding Methods
Rails 6 adds Array#including, Array#excluding, Enumerable#including, Enumerable#excludingRuby 2.7 adds Enumerable#tally
Ruby 2.7 has added Enumerable#tally. It helps to tally occurrences of elements in an Enumerable.Rails 6 Adds Timezone Support to Active Job
Rails 6 preserves timezones in Active Job, automatically restoring the timezone when jobs execute and propagating it to nested jobs.Rails 6 Adds before? and after? to Date/Time
Rails 6 adds before? and after? methods to Date, DateTime, Time, and TimeWithZone.Ruby 2.7 Shorthand Operator for Object#method
Ruby 2.7 adds experimental shorthand operator for Object#method. Allows method object access using :, example File.:basenameRails 6 Adds Negative Scopes for Enum Values
Rails 6 adds negative scopes for all enum values, making it easier to query records that don't match specific enum states.Rails 6 adds Enumerable#index_with
Rails 6 adds Enumerable#index_with to allows creating a hash from an enumerable with the value from a passed block or a default argument.Rails config_for: Secrets to Credentials
Rails secrets is deprecated in Rails 6, config_for is a replacement of using ENV specific configuration along with credentials.