[Rails] Re: issue with the object cache

2009-03-05 Thread luis
Well, it turns out that I had left in app/models a renamed version of the previous Client model file (client--previous.rb) which was throwing things off. After I removed the file all worked as expected. Thanks all for your help, and sorry for the red herring. Luis On Mar 5, 10:02 am, Shiv N Gau

[Rails] Re: issue with the object cache

2009-03-05 Thread Frederick Cheung
On 5 Mar 2009, at 15:58, luis wrote: > > > > On Mar 5, 9:00 am, Frederick Cheung > wrote: >> On 5 Mar 2009, at 14:37, luis wrote: >> >> >> >>> This happens when trying to save the Client object, here is the >>> stack >>> trace >> >> Looks like you still have a validation against name. >> >> F

[Rails] Re: issue with the object cache

2009-03-05 Thread Shiv N Gautam
On Thu, Mar 5, 2009 at 9:28 PM, luis wrote: > > > > On Mar 5, 9:00 am, Frederick Cheung > wrote: > > On 5 Mar 2009, at 14:37, luis wrote: > > > > > > > > > This happens when trying to save the Client object, here is the stack > > > trace > > > > Looks like you still have a validation against nam

[Rails] Re: issue with the object cache

2009-03-05 Thread luis
On Mar 5, 9:00 am, Frederick Cheung wrote: > On 5 Mar 2009, at 14:37, luis wrote: > > > > > This happens when trying to save the Client object, here is the stack > > trace > > Looks like you still have a validation against name. > > Fred > That seems to be the case, but why? Why does it happen

[Rails] Re: issue with the object cache

2009-03-05 Thread Frederick Cheung
On 5 Mar 2009, at 14:37, luis wrote: > > This happens when trying to save the Client object, here is the stack > trace Looks like you still have a validation against name. Fred > > > /usr/local/encap/ruby-1.8.7-p72/lib/ruby/gems/1.8/gems/ > activerecord-2.2.2/lib/active_record/attribute_method

[Rails] Re: issue with the object cache

2009-03-05 Thread luis
This happens when trying to save the Client object, here is the stack trace /usr/local/encap/ruby-1.8.7-p72/lib/ruby/gems/1.8/gems/ activerecord-2.2.2/lib/active_record/attribute_methods.rb:260:in `method_missing' /usr/local/encap/ruby-1.8.7-p72/lib/ruby/gems/1.8/gems/ activerecord-2.2.2/lib/acti

[Rails] Re: issue with the object cache

2009-03-05 Thread Frederick Cheung
On Mar 5, 4:24 am, luis wrote: > > All worked fine in both development and production environments in > Rails 2.1.0, but broke in Rails 2.2.2/production with the message > "undefined method `name' for #" When does this error occur - what's the stack trace ? Fred > > From what I can tell, wit