From: Ike Date: 2006-11-01T04:25:12+09:00 Subject: Re: Syntax q on ActiveRecord "matt neuburg" wrote in message news:1ho2k6a.1bk8gir14ss1c0N%matt@tidbits.com... > Ike wrote: > > Just RTFM. > > > > (s.v. "belongs_to): > > belongs_to :firm, :foreign_key => "client_of" > > Notice the comma? Notice where the colons go? > > m. > > PS The fact that you could bring yourself to write belongs_to: suggests > that you don't know Ruby. Over the course of a long life in computers I > have found that it is helpful to know the basics of the language in > which one is programming (though, to be quite honest, I've written quite > a bit of Perl without obeying that rule)... > > -- > matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ > Tiger - http://www.takecontrolbooks.com/tiger-customizing.html > AppleScript - http://www.amazon.com/gp/product/0596102119 > Read TidBITS! It's free and smart. http://www.tidbits.com Jesus H. Christ.....it's a TYPO as I was copying by hand, with from the code on another machine, without considering that. Thanks for being so chastising. -Ike