All, In the Recipes for Rails Authentication recipe, there is a variable named action_name that''s used to represent the current action. Where does this come from? Is there a similar variable for the current controller? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
Wes Gamble wrote:> In the Recipes for Rails Authentication recipe, there is a variable > named action_name that''s used to represent the current action. > > Where does this come from?It''s an attribute of ActionController.> Is there a similar variable for the current controller?controller_name also an attribute of ActionContoller -- Ray