Tutorials








Writing Clean Monkey Patches (Fixing Kaminari 1.0.0 ArgumentError - Comparison Of Fixnum With String Failed) - Solid Foundation Web Development
I recently did bundle update on a project. I later noticed that the pagination was giving me an error: This turned out to be a bug in Kaminari v1.0.0. I figure this probably caught quite a few people off guard considering this is the most popular ...

How requirements shaped my code, AKA Rails 5 and ActiveRecord before_destroy callbacks – MIKAMAYHEM
I recently started a new project with Rails 5, and at some point I found out the code was not behaving as expected. The initial scenario was quite simple, Admins can have many Phones, as this code suggests: class Admin < ApplicationRecord has_many...