Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in polymorphic-associations

Why polymorphic association doesn't work for STI if type column of the polymorphic association doesn't point to the base model of STI?

Rails: has_many through with polymorphic association - will this work?

ActiveRecord - querying polymorphic associations

accepts_nested_attributes_for with belongs_to polymorphic

Rails Polymorphic Association with multiple associations on the same model

MySQL - Conditional Foreign Key Constraints

What is the best way to implement Polymorphic Association in SQL Server?

Why can you not have a foreign key in a polymorphic association?

ActiveRecord, has_many :through, and Polymorphic Associations

how to generate migration to make references polymorphic

Possible to do a MySQL foreign key to one of two possible tables?