Optimize Database Performance in Ruby on Rails and ActiveRecord | Hacker News Reader