Tutorials





ActiveRecord::Calculations will now use column-based type casting | Saeloun Blog
ActiveRecord::Calculations is a great collection of methods that allow arithmetic operations to be performed right on the ActiveRecord attributes. These are the available methods:averagecalculatecountidsmaximumminimumplucksum.

Deprecating code in a Rails application | Everyday Rails
When upgrading a Rails application to a newer version of the framework, you’ll often see deprecation warnings pop up in your application logs and test suite output. Deprecation warnings give you time to fix an issue before it becomes an outright e...

Running Rails on the Cloud Run environment | Ruby | Google Cloud
Learn how to deploy a sample Rails application to Cloud Run and how to integrate managed databases, object storage, encrypted secrets, and build pipelines with serverless compute.Deploying Rails applications involves integrating multiple services ...



Rails 7 adds change tracking methods for belongs_to associations | Saeloun Blog
Sometimes minor updates add the most joy to users! A recent Rails update introduced the ability to monitor for changes in belongs_to associations. This brings in a welcome change for developers who like to conform to “the Rails way”.Change trackin...