Mr_Nizzle
Mr_Nizzle

Reputation: 6714

Rails 3 polymorphic associations

In a Polymorphic association how should I fill in the _type fields while creating a record? with Class name? or with the table name?

Upvotes: 1

Views: 145

Answers (1)

socjopata
socjopata

Reputation: 5095

You should fill it with a class name.

Upvotes: 1

Related Questions