Thanks guys that worked. Any reason why rails does not "do the right
thing" to setup a model with has_many ?

On Aug 15, 5:21 pm, Jarin Udom <[email protected]> wrote:
> Just for clarity, you don't need to make any database table changes to the
> has_many model, unless you want a counter cache (in which case you would add
> a users_count integer field to the groups table with a default value of 0,
> and set :counter_cache => true on the belongs_to model).
>
> Jarin

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to