Forum: Ruby on Rails has_many classes

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.
90bedc2d9234191f2b35dcb9fbbc4390?d=identicon&s=25 Theodore Mills (Guest)
on 2006-02-19 04:50
(Received via mailing list)
Anybody know how to find out all the class names that a model has
specified as "has_many"? I'm hoping there's some sort of an array I
can access.
90bedc2d9234191f2b35dcb9fbbc4390?d=identicon&s=25 Theodore Mills (Guest)
on 2006-02-19 05:05
(Received via mailing list)
OK, answered my own question:

ActiveRecord::Reflection
This topic is locked and can not be replied to.