Faster Rails: Eliminating N+1 queries

Posted on Apr 01, 2018 [ 3 min read ]
N+1 is a common DB queries issue that slows down overall page load. This article demonstrates how to discover and fix it with more efficient DB query.

How can I protect a user's file uploads in Rails?

Posted on Mar 13, 2018 [ 8 min read ]
The world is becoming much more digital. As a result, a lot more of the things that we use and buy are digital items, ones that we download from websites after we pay for them.

What is a Polymorphic Association?

Posted on Feb 28, 2018 [ 4 min read ]
In Ruby on Rails, a polymorphic association is an Active Record association that can connect a model to multiple other models.
Copyleft 2024 Gritwerkz.

Twitter Email

Back to Top