Re: [Rails] Re: Re: [OT more Ruby maybe] Nested categories, nesting has_many :through a HABTM relationship

2010-12-08 Thread Rick R
On Wed, Dec 8, 2010 at 12:44 AM, Marnen Laibow-Koser wrote: > > It's more idiomatic Ruby. You'd write x == 2, not x.eql?(2), and your > matchers should follow the same practice for better readability. > I actually prefer x.size == 3 over x.size.should eql(3), I was just trying to do things the r

[Rails] Re: Re: [OT more Ruby maybe] Nested categories, nesting has_many :through a HABTM relationship

2010-12-07 Thread Marnen Laibow-Koser
Rick R wrote in post #967105: > On Tue, Dec 7, 2010 at 11:00 PM, Marnen Laibow-Koser > wrote: > >> >> If it were me, I'd use the nested_has_many_through plugin and have done >> with it. >> > > Interesting. I'll have too look into that. (This initially wasn't my > post > but still curious how to do