authorImg Dhiraj Mishra
authorImg Dhiraj Mishra

Dhiraj is a Ruby on Rails Developer adept at building and maintaining robust applications.

Rails 6.1 adds support for check constraints to database migrations

With Rails adding support for check constraints to database migrations, check constraints can easily now be added and removed from tables with simple migration DSL. Earlier, the only way to add check constraints to tables was through raw SQL queries.
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 6.1 adds support for role switching and sharding in database

Rails 6.1 has added support for switching connections for one database instead of all databases
authorImg Prasad Walvekar
authorImg Prasad Walvekar

Prasad is a Frontend Developer with over five years of experience, specializing in building high-performing and visually engaging web platforms.

Rails 6.1 adds support for destroying dependent associations in the background

Destroying multiple layered hierarchy of associated objects can be time consuming and might result in a server timeout error. With Rails adding support for dependent associations to be deleted in the background, this issue is addressed.
authorImg Romil Mehta
authorImg Romil Mehta

Romil is a Ruby on Rails Developer who enjoys putting together the technical pieces making sure everything runs smoothly.

Rails 6.1 allows attribute's default to be configured but keeping its type

With Rails 6.1, we can set attribute's default value by keeping the type same
authorImg Vamsi Pavan Mahesh
authorImg Vamsi Pavan Mahesh

Vamsi is a Senior Software Developer dedicated to creating seamless user experiences. With deep expertise in both Ruby on Rails and ReactJS

Ruby 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`.
authorImg Vamsi Pavan Mahesh
authorImg Vamsi Pavan Mahesh

Vamsi is a Senior Software Developer dedicated to creating seamless user experiences. With deep expertise in both Ruby on Rails and ReactJS

Rails deprecates `db:structure:load` and `db:structure:dump` tasks

Running `db:structure:load` and `db:structure:dump` tasks will run `db:schema:{load/dump}` based on the value of `config.active_record.schema_format`, and they will be removed in Rails 6.2.
authorImg Vamsi Pavan Mahesh
authorImg Vamsi Pavan Mahesh

Vamsi is a Senior Software Developer dedicated to creating seamless user experiences. With deep expertise in both Ruby on Rails and ReactJS

Rails allows a module with extend ActiveSupport::Concern to be prepended

This blog post discusses the concept of prepending in Ruby and prepending concerns with the help of Active Support in Rails.
authorImg Vamsi Pavan Mahesh
authorImg Vamsi Pavan Mahesh

Vamsi is a Senior Software Developer dedicated to creating seamless user experiences. With deep expertise in both Ruby on Rails and ReactJS

Ruby adds support for forwarding arguments to a method, along with the leading arguments

... operator was limited to forwarding arguments. With Ruby 3.0, it can forward the arguments along with the leading arguments.
authorImg Vamsi Pavan Mahesh
authorImg Vamsi Pavan Mahesh

Vamsi is a Senior Software Developer dedicated to creating seamless user experiences. With deep expertise in both Ruby on Rails and ReactJS

Rails adds support for adding a default value to the rich text area

Rails has added support for adding a default value to the form field of type rich text area.
authorImg Vamsi Pavan Mahesh
authorImg Vamsi Pavan Mahesh

Vamsi is a Senior Software Developer dedicated to creating seamless user experiences. With deep expertise in both Ruby on Rails and ReactJS

Ruby adds `Symbol#name` to return frozen string corresponding to the symbol name

Ruby has added `Symbol#name`, which returns the name of the symbol if it is named. The returned string can not be modified.