Given two subclasses of ActiveRecord::Base, how can I implement a function that checks to see if one belongs to the other?
def ClazzA < ActiveRecord::Base
belongs_to :clazz_b
end
def ClazzB < ActiveRecord::Base has_many :clazz_a end
def belongs_to? a, b ... end
Thanks! Max