schneems/wicked — pull request #12 by lucatironi (2012-05-09 08:44:03+00:00)
Title: I think it's better not to overwrite the 'controller' method

If I use somewhere else the 'controller' method inside my controller (or in a helper method in my application_controller) it turns out that I can have troubles because it's now a String.

For example I'm using [gon](https://github.com/gazay/gon) and [Rabl](https://github.com/nesquena/rabl) to include some Javascript in my pages by default and so I have a before_filter in my ApplicationController.
Rabl calls controller_name on controller but that it is now a String and so it crashes.