RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: gobruins2154
Am I missing something, or shouldn't the Receipe and Comment model both have the following included (based on (154 Polymorphic Association episode)?
has_many :activities, as: :trackable
If not, then I must be missing the point of this polymorphic association.
Thanks!
Am I missing something, or shouldn't the Receipe and Comment model both have the following included (based on (154 Polymorphic Association episode)?
If not, then I must be missing the point of this polymorphic association.
Thanks!