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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
solution http://railsforum.com/viewtopic.php?id=27357 just replace controller.controller_name by params[:controller] for action_name params[:action] On 21 fév, 12:54, fmh <helmi.fatna...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---