Contributions

Article
Explore about metaprogramming in Ruby and how to use it.
Article
Rails 7.1 introduces an option that enables templates to have required arguments with default values.
Article
Ruby 3.2 adds Data that provides a convenient way to define simple classes for value-alike objects.
Article
Rails 7.1 removes the deprecated setup command of secrets and adds a deprecation warning for secrets edit and show commands.
Article
In Rails 7.1, the increment_counter and decrement_counter methods can now be passed an argument to increment or decrement the counter by any value.
Article
In Rails 7.1, the Array#intersect? method can be used to find if two ActiveRecord::Relation objects intersect or not.
Article
In Rails 7.1, you can now configure your controllers to throw an error if the only or except options in controller callbacks refer to actions that don't exist. This helps detect and fix typos and other mistakes in your controller code.
Article
With Rails 7.1, you can delay the unique constraints check using the deferrable option.
Article
Rails 7.1 adds ActiveRecord::Base::normalizes method to standardize the data before saving it to the database.
Article
Rails 7.1 adds the picture_tag helper method that renders the HTML picture tag for handling responsive images.