hello, in production the <%= controller.controller_name %> has no effect in view I use passenger mod_rails. if i restart my apache server , it work but just for 1 or 2 times and after stop to work. I must each time to restart my apache server.
on 2009-02-21 13:54
on 2009-02-21 17:03
solution http://railsforum.com/viewtopic.php?id=27357 just replace controller.controller_name by params[:controller] for action_name params[:action]