Re: Re: [Rails] undefined method join

2010-02-11 Thread Curtis Cooley
I don't see where join is being called in the code you posted, but one thing that trips me up every once in a while is forgetting :all Student.find_by_last_name("Jones") returns a String where Student.find_all_by_last_name("Jones") or Student.find(:all, :conditions => "last_name = 'Jones'") ret

Re: Re: [Rails] undefined method join

2010-02-11 Thread Rick DeNatale
On Thu, Feb 11, 2010 at 12:58 PM, JohnMerlino wrote: > > So why does the example in rails guide work and not mine, where I tried to > copy as close to it as possible? All I'm trying to do is update another > table from a form. Thanks. If you show us the walkback, and not just the exception messag

Re: Re: [Rails] undefined method join

2010-02-11 Thread JohnMerlino
So why does the example in rails guide work and not mine, where I tried to copy as close to it as possible? All I'm trying to do is update another table from a form. Thanks. Curtis Cooley-3 wrote: > > On Thu, Feb 11, 2010 at 7:37 AM, Jeffrey L. Taylor > wrote: >> Quoting Frederick Cheung : >>>

Re: Re: [Rails] undefined method join

2010-02-11 Thread JohnMerlino
So why does the example in rails guide work and not mine, where I tried to copy as close to it as possible? All I'm trying to do is update another table from a form. Thanks. Curtis Cooley-3 wrote: > > On Thu, Feb 11, 2010 at 7:37 AM, Jeffrey L. Taylor > wrote: >> Quoting Frederick Cheung : >>>