Karthik Sivadas

Karthik Sivadas

Karthik is a Ruby on Rails Developer.
authorImg Karthik Sivadas

Rails 6.1 add Enumerable#pick to complement Relation#pick

Adding pick to enumerable will enable us to call pick on loaded relations, unloaded relations, and plain enumerables interchangeably.
authorImg Karthik Sivadas

Rails [attribute_name]_previously_changed? accepts :from and :to arguments

Rails Active Model Dirty method [attribute_name]_previously_changed? now accepts :from and :to arguments just like [attribute_name]_changed?
authorImg Karthik Sivadas

Rails adds config rake_eager_load

Rails has added the option to eager load all the registered name spaces in rake tasks.