Hi there,
is there any explanation for the following strange behaviour that
occured to me:
I created a helper method in application_helper.rb called "nav_path",
that is supposed to be returning
an array to me. For some strange reason though, I can''t access this
method from the partial I am
calling it from: I simply get nil instead of anything I am really
returning in the method (I tried a String, too).
As soon as I rename the method to something else, "navpath" i.e., it
starts working the way it is supposed to.
I could not find anything on "nav_path" being reserved for Rails or
something, so this seems to be pretty strange behaviour to me. Any
explanations?
Greetings,
Christoph
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---