Rails

Read More
Loading an Auto

Rails Magic Autoload

Rails Autoloading is what happens in the background that most developers don’t even think about. Rails Autoload is something that is important for you to know about. Rails will automatically load certain files your Rails app application when it boots up.

Read More
Who Is N+1

Who Is N+1?

N+1 queries need to be solved in Ruby on Rails by identifying where the Active Relation object is created and adding a joins or includes to prefetch eagerload to optimize ActiveRecord just-in-time loading.

Read More

Identity Crisis

Javascript developers talk about the hoist, where a reference to a variable inside of a given scope in a section of code below affects code above it, effectively hoisting the variable up into the reserved namespace. Did you know that Rails has its own hoist effect?