Get model from polymorphic association

Hi,

If using a polymorphic belongs_to, is it possible to access the “_type”
field that contains the name of the model ?

Thanks!

On 24 Jun 2008, at 17:14, John L. wrote:

Hi,

If using a polymorphic belongs_to, is it possible to access the
“_type”
field that contains the name of the model ?

is it not accessible as any other attribute?

Fred