Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Og relations questions

0 views
Skip to first unread message

itsme213

unread,
Nov 28, 2005, 11:18:52 PM11/28/05
to
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.


James Britt

unread,
Nov 28, 2005, 11:35:41 PM11/28/05
to
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
http://www.artima.com/rubycs/ - 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


0 new messages