On Mar 3, 5:59 pm, dbl... / wobblini.net wrote: > > OK, my logic above isn't perfect, needs some cleaning up, but > > whatever. The point is, I need a method like associations, which can > > tell me what associations a model has, what their foreign keys are, > > etc. > > > Is there any way to access that information? > > ActiveRecord::Base.reflect_on_all_associations can probably give you > what you need. > > David > Yes, that's exactly what I was looking for. Thanks for showing me where it was!