# Returns an array of AssociationReflection objects
# for all the associations in the class.
# If you only want to reflect on a certain association type,
# pass in the symbol (:has_many, :has_one, :belongs_to) as the first parameter.
Driver.reflect_on_all_associations(:has_many)
# Returns the AssociationReflection object for the association
Account.reflect_on_association(:versions)
Get all the relationships (associations) of a model in Rails