Advanced Active Record "Advanced Active Record" book sample application, "critic". To set things up, run: bundle exec rails db:setup