ActiveRecord is a very powerful tool. It goes a long way allowing you to organize your database
access and build queries in the Ruby way. However, in some scenarios we end up having to write
SQL ...
In this episode I’m gonna show you a gem that I find quite useful to clean up
controllers and not many developers know about. It’s the has_scope gem.
To illustrate its purpose, I have here a sim...
In architectures based on microservices, message queues like RabbitMQ are
a common thing for communication. Even though exchanging messages is an elegant
solution, you’re not free from eventually r...
If you have worked with Heroku, you probably have heard of 12-factor. You
probably have added the rails_12factor
gem to your projects. But are you aware of what the heck is that?
I heard about 12-...
A few weeks ago I came across an issue while dealing with associations I had
to eager load.
The product I’m working on supports custom templates using
liquid. That means our
customers can customi...