Say I have a model of type A, and a model of type B, which has the fields a_id a2_id. I want to have something like:
class B
belongs_to :a
belongs_to :a (using a2)
end
Does anyone know how I would do this? I am trying to use the class B to link similar objects in my DB.