From: Hassan Schroeder Date: 2012-08-06T23:48:12+09:00 Subject: Re: Join with ActiveRecord using non-standard schema On Mon, Aug 6, 2012 at 7:39 AM, T- Di wrote: > @agreements = Agreement.find(:all, :include => :AgreementType) > @agreements.first.name > > Which returned: > NoMethodError: undefined method `name' for # So why did you think "@agr.name" from your first example would do anything useful if Agreement doesn't have a name method? Or is it AgreementType that has a name and that's what you wanted? -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com http://about.me/hassanschroeder twitter: @hassan