LakTEK A Sri Lankan, A Rubyist and A Web Dude

[Rails Tips] Reduce Queries in ActiveRecord with :group

I thought of sharing some tips in Ruby on Rails development, which would come in handy especially if you are a newbie.  The cornerstone of all of Rails’ magic is ActiveRecord. As you know it’s an ORM, which hides all cumbersome and mundane SQL by a syntactic sugar coating. However, blind and lazy usage of […]