# First Activerecord model missing attributes/methods

**URL:** <https://www.ruby-forum.com/t/first-activerecord-model-missing-attributes-methods/161380>\
**Category:** Rails\
**Created:** [February 26, 2009, 1:23am UTC](https://www.ruby-forum.com/t/first-activerecord-model-missing-attributes-methods/161380 "2009-02-26T01:23:15Z")\
**Posts on this page:** 1\
**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:** [February 26, 2009, 1:23am UTC](https://www.ruby-forum.com/t/first-activerecord-model-missing-attributes-methods/161380/1 "2009-02-26T01:23:15Z")

</div>

I’m having a very strange problem. I’m getting a collection of Rails  
ActiveRecord models back from the database but the first model in the  
collection does not have the model attributes/methods, just the  
standard ActiveRecord base methods. The rest have all the attributes.  
And it’s only doing this on my production debian server using  
Passenger. It works find on OS X and cygwin.

Any ideas?

Thanks, Kevin
