DRY up your Rails controllers.