authorImg Vamsi Pavan Mahesh
authorImg Vamsi Pavan Mahesh

Vamsi is a Ruby on Rails and ReactJS Developer.

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 Ruby on Rails and ReactJS Developer.

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 Ruby on Rails and ReactJS Developer.

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 Ruby on Rails and ReactJS Developer.

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 Ruby on Rails and ReactJS Developer.

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

Vamsi is a Ruby on Rails and ReactJS Developer.

Changes to behavior in rails db:migrate:name command

Rails has made changes to dump the schema(or structure) of the database when executing the command rails db:migrate:name. The command will also reset the `ActiveRecord::Base` connection after its execution.
authorImg Vamsi Pavan Mahesh
authorImg Vamsi Pavan Mahesh

Vamsi is a Ruby on Rails and ReactJS Developer.

Rails adds a minimal flag to generate a new application

Rails used to come with a lot of frameworks by default, when we generate a new application. Now Rails introduced minimal flag to generate an application with only bare minimum frameworks
authorImg Vamsi Pavan Mahesh
authorImg Vamsi Pavan Mahesh

Vamsi is a Ruby on Rails and ReactJS Developer.

Ruby adds experimental support for Rightward assignments

Previously ruby used to support only Rvalue to be assigned to Lvalue. Now, it adds support for Rightward assignment
authorImg Vamsi Pavan Mahesh
authorImg Vamsi Pavan Mahesh

Vamsi is a Ruby on Rails and ReactJS Developer.

Ruby introduces find pattern in pattern matching

Find pattern is introduced in pattern matching, which is useful in matching arrays.
authorImg Prateek Choudhary
authorImg Prateek Choudhary

Prateek is a Ruby on Rails Developer.

How to investigate your build size in Webpack

Let us look at a few handy tools that can help us in analyzing and reducing our bundle size.