replace god-awful way to get model name with rails controller_name method