Managing database access with ActiveRecord | Hacker News Reader