Hello, I am a long time developer who is new to ruby and rails and am trying to solve a few problems. More than once now have I encountered No Method Errors in my files. In all of the cases, there most definitely is a method defined in a file that contains other methods that work without trouble. What causes this error, and is there any way to find out how to remedy it? Specifically, I am working with a permissions system. I am trying to develop a test for Super Admin status. The method is called is_super? and exists in my login_system module. However, when I try to use it in my menu partial, I get the No Method Error. Any help would be greatly appreciated. Jay --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
mindtonic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jul-27 17:22 UTC
Re: No Method Error
Also, In experimenting and trying to figure out what is wrong, the error is changing to a Name Error. If that helps point the answer... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
mindtonic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jul-28 00:15 UTC
Re: No Method Error
Any suggestions? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 7/27/07, mindtonic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <mindtonic-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Any suggestions?Could be any number of possibilities. Would you please post the code and errors? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---