How do you look for changed attributes using Ruby on Rails? It's straightforward, in fact. Let's look at two ways you can get started. (more…)
Read more »
Implementing search in your Rails app can be vexing. Here's a great pattern to use that combines the best parts of ActiveRecord and Postgres.
(more…)
Read more »
UUID is an alternative primary key type for SQL databases. It offers some non-obvious advantages compared to standard integer-based keys. Rails 6 release fresh out of beta introduces a new feature in ActiveRecord that makes working with UUID primary keys ... (more…)
Read more »
In this last part of the Rails Patterns and Anti-patterns series, I'll be going over the most common problems I've encountered while building and shipping Ruby on Rails applications. (more…)
Read more »