#rubyonrails
Read more stories on Hashnode
Articles with this tag
What are they? ActiveRecord callback is a tricky Rails-way method to trigger some code in different phases of persisting model object. Example: class...
The first script ensures your Sidekiq instances would act properly on each application deployment: commands: create_post_dir: command: "mkdir -p...
Imagine that you develop an e-commerce platform. Your basic model is Order. You would have some constraints which don't have to be valid before order...