# No Method Error

**URL:** <https://www.ruby-forum.com/t/no-method-error/110579>\
**Category:** Rails\
**Created:** [July 27, 2007, 7:14pm UTC](https://www.ruby-forum.com/t/no-method-error/110579 "2007-07-27T19:14:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 27, 2007, 7:14pm UTC](https://www.ruby-forum.com/t/no-method-error/110579/1 "2007-07-27T19:14:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 27, 2007, 7:23pm UTC](https://www.ruby-forum.com/t/no-method-error/110579/2 "2007-07-27T19:23:25Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 28, 2007, 2:25am UTC](https://www.ruby-forum.com/t/no-method-error/110579/3 "2007-07-28T02:25:22Z")

</div>

Any suggestions?

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 29, 2007, 7:13am UTC](https://www.ruby-forum.com/t/no-method-error/110579/4 "2007-07-29T07:13:42Z")

</div>

On 7/27/07, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Any suggestions?

Could be any number of possibilities. Would you please post the code and  
errors?
