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
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
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
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
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
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
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
7 matches
Mail list logo