
I recently learned that ActiveRecord implements an "interesting" optimization. When you pass a condition to where that could not ever be satisfied, mostly by passing an empty array, it skips the database call completely, returning empty result set. A...
Elixir developer with Ruby past
Markdown supported · ⌘↵ to post
No responses yet.