A simple way to prepend commit messages with branch names in Git.
Sort your Rails models by the order of their belongs_to associations using ActiveRecord::Reflection.
Templates are an easy way to customize your Rails generators to fix repetitive tasks and make your life easier.
Rails 7.1 now introduces a default health check endpoint for health checks.
Rails comes with a lot of initializers. In this post, we will look at the inflections.rb initializer and how we can use it.
Rails 7.1 introduces a new feature to allow db:prepare to load schema if the database already exists but is empty. Also, it will dump the schema after migrations are run.
Rails 7.1 introduces a new feature to allow opting out of the SameSite cookie attribute when setting a cookie.
ActionController::Parameters.to_h will now receive a block just like Hash#to_h and achieve parity. This gives the ability to customize the way parameters are passed to the controller.
An in-depth overview of what a Gemfile is, how it works, and its role in managing Ruby dependencies
Rails now provides support to choose a javascript approach using --js alias