RailsCasts Pro episodes are now free!

Learn more or hide this

gobruins2154's Profile

GitHub User: gobruins2154

Comments by

Avatar

Am I missing something, or shouldn't the Receipe and Comment model both have the following included (based on (154 Polymorphic Association episode)?

ruby
has_many :activities, as: :trackable

If not, then I must be missing the point of this polymorphic association.

Thanks!