ActiveRecord plays a pivotal role in interacting with databases. One of the key concepts in database design is normalization, a technique for organizing and formatting d...
410 reads
These tips are a group of fun and useful features I discovered about the Ruby on Rails framework, as I've learned over time.
Viewing articles within the Rails Quick Tips collection
ActiveRecord plays a pivotal role in interacting with databases. One of the key concepts in database design is normalization, a technique for organizing and formatting d...
410 reads
Rails provides convenient built-in Time and Date formats that allow developers to work efficiently. While these default formats serve most applications well, there are i...
2142 reads
In Ruby on Rails, sending emails is a common task for applications. However, during development, it's essential to avoid accidentally sending real emails to users. Thi...
3069 reads
In this Rails quick tip, I'll discuss a built-in command you can use to supercharge the tedious database configuration process with Ruby on Rails.
First, you'll need ...
600 reads
In Ruby on Rails, a common issue developers face is n+1 queries, which occur when an application sends multiple queries to the database instead of combining them into a ...
1950 reads
The annotate Ruby gem boosts developer quality of life and is one I use in every new Rails project.
The idea of the gem i...
1102 reads
Ruby on Rails uses a Ruby gem called rake to generate tasks that otherwise enable your applications to call code with alias commands.
...
1258 reads
When it comes to leveraging other gems and dependencies in Ruby, Bundler is the primary tool all Rails developers leverage.
Most of us know bas...
923 reads
Migrating database changes is relatively straightforward using Ruby on Rails. You may have gotten ahead in the local development environment and need to modify something...
8986 reads
I have fat fingers when it comes to programming some days. I’ll often make a typo when generating a new model or a controller and fudge up a process that creates a bunch...
887 reads