I’m using the polymorphic “acts_as_commentable” plugin…
But I’m new to RoR and don’t understand how to avoid repeating myself.
Is there a way to create a single “comment_form” partial and action to
handle any model type/id? The second link above assumes an @model
model rather than being able to handle any model.
Any insight would be greatly appreciated. Thanks.