#activerecord
Read more stories on Hashnode
Articles with this tag
Why you should be careful when using Callbacks in Rails and their hidden gotchas ยท Context I recently spent a good chunk of time debugging a bug and in...
Today we will look at a handy Rails tool called store_accessor. store_accessor can be used with PostgreSQL(hstore/jsonb), or MySQL (5.7+ json) to...
I have been written quite a few migrations and reviewed quite a few of them at Anarock Tech. This is one of the most common mistakes I see developers...
In this post i'll go through how to write efficient queries for belongs_to associations. I primarly work with Rails so it will focus on that a bit but...