# Undefined method 'find' error

**URL:** <https://www.ruby-forum.com/t/undefined-method-find-error/133563>\
**Category:** Rails\
**Created:** [April 1, 2008, 6:20pm UTC](https://www.ruby-forum.com/t/undefined-method-find-error/133563 "2008-04-01T18:20:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![parki](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b782af/32.png) [@parki](https://www.ruby-forum.com/u/parki)\
**Post date:** [April 1, 2008, 6:20pm UTC](https://www.ruby-forum.com/t/undefined-method-find-error/133563/1 "2008-04-01T18:20:59Z")

</div>

I just moved my app from development to test, and now getting the  
following error on my form:

undefined method ‘find’ for Status:Class

The only difference between the two environments is that test is using  
Mongrel and we were running WEBrick in dev. We are on Rails 1.2.5 .  
Any suggestions?

Thanks,  
Brian

---

<div class="post-metadata">

**Author:** ![parki](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b782af/32.png) [@parki](https://www.ruby-forum.com/u/parki)\
**Post date:** [April 1, 2008, 7:06pm UTC](https://www.ruby-forum.com/t/undefined-method-find-error/133563/2 "2008-04-01T19:06:48Z")

</div>

Brian P. wrote:

> I just moved my app from development to test, and now getting the  
> following error on my form:
> 
> undefined method ‘find’ for Status:Class
> 
> The only difference between the two environments is that test is using  
> Mongrel and we were running WEBrick in dev. We are on Rails 1.2.5 .  
> Any suggestions?
> 
> Thanks,  
> Brian

Forgot to include that we are using ActiveRecord 1.15.5., and I’ve  
verified that the ActiveRecord gem successfully installed.

---

<div class="post-metadata">

**Author:** ![parki](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b782af/32.png) [@parki](https://www.ruby-forum.com/u/parki)\
**Post date:** [April 1, 2008, 7:20pm UTC](https://www.ruby-forum.com/t/undefined-method-find-error/133563/3 "2008-04-01T19:20:43Z")

</div>

Brian P. wrote:

> Brian P. wrote:
> 
> > I just moved my app from development to test, and now getting the  
> > following error on my form:
> > 
> > undefined method ‘find’ for Status:Class
> > 
> > The only difference between the two environments is that test is using  
> > Mongrel and we were running WEBrick in dev. We are on Rails 1.2.5 .  
> > Any suggestions?
> > 
> > Thanks,  
> > Brian
> 
> Forgot to include that we are using ActiveRecord 1.15.5., and I’ve  
> verified that the ActiveRecord gem successfully installed.

Sorry…one more thing…I am using Status.find(:all) within my  
collection select for status field.
