[Rails] Active Record Model From Legacy query
I have a situation where I have some legacy tables that have what I
will call conditional relations. One table is a log and has actions
and action_notes columns if the action is a certain number(value) the
the contents of the action_notes will be a foreign key to another
table but then it can actually be a note for other actions.... Hope
that makes sense. So whats the best rails approach?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home