authorImg Prateek Choudhary
authorImg Prateek Choudhary

Prateek is a Ruby on Rails Developer.

Ruby adds experimental support for end-less method definition

Ruby has added a new experimental syntax for defining single-line methods without using the end keyword.
authorImg Alkesh Ghorpade
authorImg Alkesh Ghorpade

I am a seasoned developer with over 9 years of experience in Ruby on Rails and Golang. My passion lies in tackling complex data structures and algorithm problems, always pushing myself to learn and grow. In my downtime, I find solace in the pages of books and the soothing sounds of a guitar. But I'm not just a one-trick pony! I love to stay active and challenge myself in other ways too. Whether it's on the football pitch, cricket field, table tennis table, or badminton court, I'm always up for some fun activities.

Rails - Added sub seconds to Time inspect

Rails has added sub seconds to ActiveSupport::TimeWithZone#inspect method.
authorImg Romil Mehta
authorImg Romil Mehta

Romil is a Ruby on Rails Developer.

Rails adds support for db:rollback:name for multiple database applications

Rails has added support for name option while rollbacking migration for multiple database application
authorImg Karthik Sivadas
authorImg Karthik Sivadas

Karthik is a Ruby on Rails Developer.

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 Prateek Choudhary
authorImg Prateek Choudhary

Prateek is a Ruby on Rails Developer.

Using Optimizer Hints in Rails

Optimizer Hints allows us to control the query optimizer of a database system. Rails 6 has added support to provide Optimizer Hints.
authorImg Narendra Rajput
authorImg Narendra Rajput

Narendra is a Ruby on Rails Developer.

Rails 6.1 adds ActionCable::Channel#stream_or_reject_for

Rails 6.1 adds `ActionCable::Channel#stream_or_reject_for` to stream or reject connection based on presence of record
authorImg Romil Mehta
authorImg Romil Mehta

Romil is a Ruby on Rails Developer.

Heredocs and how to use them in Ruby and Rails

What are heredoc and different ways to use them in Ruby and Rails.
authorImg Rohit Kumar
authorImg Rohit Kumar

Rohit is a Ruby on Rails Developer.

Rails has deprecated using return, break and throw to exit a transaction

Rails has disallowed using return, break and throw for exiting early from a transaction and having it committed.
authorImg Aditya Narsapurkar
authorImg Aditya Narsapurkar

Aditya is a Ruby on Rails and ReactJS Developer.

Rails ActiveRecord::Relation#pick now uses already loaded results

Rails ActiveRecord::Relation#pick now uses already loaded results instead of making a new query everytime.
authorImg Karthik Sivadas
authorImg Karthik Sivadas

Karthik is a Ruby on Rails Developer.

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?