Refactoring a_negaras_controller.rb