From: Ari Brown Date: 2007-08-01T23:47:28+09:00 Subject: Re: Railless ActiveRecord On Aug 1, 2007, at 8:04 AM, John Joyce wrote: > Yes. > given tables, say: > categories > stories > > If a category has_many :stories > then table stories should have a column named category_id > > Generally, this association is followed with story > belongs_to :category for a one to many relationship. > There are also one to one relationships using has_one and belongs_to > > Active Record (and Rails in general from that) uses a very clever > system of English pluralization for table names and associations > rely on singular/plural rules. Thanks! What do I do if I have: has_many :platypi? Just kidding, Thanks, Ari --------------------------------------------| If you're not living on the edge, then you're just wasting space.