Rails Techniques: Using Polymorphic Associations
A polymorphic association is an Active Record association that can connect a model to multiple other models. Here’s how to implement polymorphic associations in Rails.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
A polymorphic association is an Active Record association that can connect a model to multiple other models. Here’s how to implement polymorphic associations in Rails.
Post a comment