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 […]


I want to be a Ruby Hacker…

In the past couple of months, I heard this from number of my friends. I hope there will be more joining the club in the coming days. For the benefit of the freshers, I thought of sharing some tips I learned about Ruby hacking (though it may sound as obvious to many) .

Write something that […]