I have a table Foo that has a polymorphic belongs_to association called bar. The foos table has the standard bar_id colum
Foo
bar
foos
bar_id
There are two approaches for this.
First is easy:
has_many :bars, :conditions => "whatever you want"
Second could be tricky:
set_inheritance_column :bar_type_id