I have a table (B) that has a belongs_to reference to (A).  Now it
turns out I need a second reference to that table, but it is not a
required field and frequently will be null.

Adding it as a field is no big deal:  other_id :numeric... it's
there.  But what I want is the hobo magic... I want to be able to show
it's name value in my index page.  The magic is fine for the
belongs_to, but hobo doesn't know what the second ID field belongs to.

Is there a way to enable the magic in the model, or is this a manual
lookup prospect?

fields do
   F1 :datatype
   F2 :datatype
   OTHER_A_ID :numeric
end

belongs_to :A

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to