search for: some_refitem

Displaying 1 result from an estimated 1 matches for "some_refitem".

2006 Apr 09
4
Inheritance via Though Associations?
...:integer t.column :type, :string t.column :position, :integer end Drawing on this article ... <http://blog.hasmanythrough.com/articles/2006/02/28/association-goodness> ... I have no problem using the through relation to be able to do stuff like: some_refitem.contributors.first.sort_name Where I get stuck is that I need to be able to subclass contributions so that I can do stuff like: some_refitem.authors some_refitem.translators So I need to be able to essentially treat each subclass as a list. Can STI + through associations currently hand...