Nic Werner wrote:> The Agile book mentions that using an underscore to break up words is
> the ''preferred'' method, but later says that
you''ll have trouble using
> them in many-to-many association tables. What are people doing? It
> sounds like less of a hassle to cram my words together (cablepair vs
> cable_pair) and enjoy the native many-to-many handling.
>
> Or maybe I just answered my own question.
> --
> - Nic
I use underscores in most cases. I''ve also found that the "Rails
Way"
for doing table associations doesn''t always work best for me, so I call
out those table names in many cases.
Basically, I do what I think is best for the situation. If Rails
doesn''t agree with me, I call out the name manually.
Jake
--
Posted via http://www.ruby-forum.com/.