picture_tag helper in RailsSupport for picture_tag helper in Rails. Its usage, advantages, and use cases.
Rails.env.local? in Rails 7.1Rails.env.local? was introduced in Rails 7.1. This post explores its usage.
Running a Rails Consultancy- looking back at 2022We went through many ups and downs and looking forward to a brighter year ahead
On how to better understand context and communicate questionsOn how to better understand context and communicate questions. Personal musings on running a company
Employees maketh BusinessesHow Saeloun runs with the help of its Employees and tries giving back
Ins and Outs of Profit SharingWe are delighted to announce our Profit Sharing process for 2022 for our Rails Consultancy. Here are some highlights from the process
Back to Office- The Remote Work editionAs the pandemic enters into a stage where some companies are retracting Work from Home, lets look at some alternatives.
ES 12/2021 introduces new logical assignment operatorsES 12/2021 introduces new logical assignment operators for nullish(??=), AND(&&=) and OR(||=).
Running a Rails Consultancy- experiments on profit sharingWe announced our first yearly profit share this year for our Rails Consultancy. Here are some highlights from the process
Running a Rails Consultancy- a year inHighlights from running our small Rails Consultancy for the first year
How to start with Software Consulting or FreelancingHow to get started with Software Consulting or Software Freelancing. First steps, ongoing work and more.
Ruby 2.7 adds Enumerable#filter_mapRuby 2.7 has added Enumerable#filter_map as a shorthand for filter + map in a single call
Rails 6 adds Relation#reselectRails 6 add a reselect method to Relation. This is a short-hand for "unscope(:select).select(fields)".
Rails 6 adds Array#including, Array#excluding, Enumerable#including, Enumerable#excludingRails 6 adds Array#including, Array#excluding, Enumerable#including, Enumerable#excluding
Ruby 2.7 adds Enumerable#tallyRuby 2.7 has added Enumerable#tally. It helps to tally occurrences of elements in an Enumerable.
Rails 6 adds support for timezones to Active JobRails 6 now supports preserving timezones to Active Job. It record what was the current timezone in effect when the job was enqueued and then restore when the job is executed in same way that the current locale is recorded and restored.
Rails 6 adds negative scopes for all enum valuesRails 6 adds negative scopes for all enum values
Ruby 2.7 adds shorthand operator for Object#methodRuby 2.7 adds experimental shorthand operator for Object#method. Allows method object access using :, example File.:basename
Rails 6 adds Enumerable#index_withRails 6 adds Enumerable#index_with to allows creating a hash from an enumerable with the value from a passed block or a default argument.
Using Rails config_for as a replacement for secrets alongside credentialsRails secrets is deprecated in Rails 6, config_for is a replacement of using ENV specific configuration along with credentials.
Rails 6 adds Relation#create_or_find_byRails 6 adds Relation#create_or_find_by to avoid race conditions of Relation#find_or_create_by