# Getting NoMethodError on find\_by method

**URL:** <https://www.ruby-forum.com/t/getting-nomethoderror-on-find-by-method/112763>\
**Category:** Rails\
**Created:** [August 23, 2007, 12:10am UTC](https://www.ruby-forum.com/t/getting-nomethoderror-on-find-by-method/112763 "2007-08-23T00:10:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnhutch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9bcb4/32.png) [@johnhutch](https://www.ruby-forum.com/u/johnhutch)\
**Post date:** [August 23, 2007, 12:10am UTC](https://www.ruby-forum.com/t/getting-nomethoderror-on-find-by-method/112763/1 "2007-08-23T00:10:23Z")

</div>

So I have the same award nomination project in several locations with  
several servers and I’m getting a NoMethodError when using find\_by on  
only some of them. With webrick and FastCGI on my remote server, the  
line find\_by\_nominee\_id\_and\_award\_id works fine. With Lighttpd on my  
remote server and CGI on the local server I’m currently putting  
together, I’m getting a NoMethodError. This leads me to believe my  
lighttpd install and my local server are missing some gem or plugin to  
allow find\_by to work, but I’ve yet to find any documentation starting  
so or otherwise.

Anyone have a clue why this method seems so finnicky?
