What are the parameter signatures of the has_many etc. macros? The docs
(and
code) just takes *args, so it’s hard to figure out.
How can I do the following? Specifically, how can I name the inverse
“belongs_to” distinctly for :good_bs and :bad_bs?
class A
has_many :good_bs, B
has_many :bad_bs, B
end
Thanks.
itsme213 wrote:
What are the parameter signatures of the has_many etc. macros? The docs (and
code) just takes *args, so it’s hard to figure out.
You’ll probably get a better response on the Nitro list
http://rubyforge.org/mailman/listinfo/nitro-general
James
–
http://www.ruby-doc.org - Ruby Help & Documentation
Ruby Code & Style - Ruby Code & Style: Writers wanted
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
http://www.30secondrule.com - Building Better Tools