Forum: Ruby Og relations questions

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fe57662c550fb3cce44c398ddf2dd706?d=identicon&s=25 itsme213 (Guest)
on 2005-11-29 05:26
(Received via mailing list)
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.
Bc6d88907ce09158581fbb9b469a35a3?d=identicon&s=25 james_b (Guest)
on 2005-11-29 05:38
(Received via mailing list)
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
This topic is locked and can not be replied to.