mirego/parole — pull request #3 by phildionne (2013-12-19 19:58:06+00:00)
Title: Fix Comment validation when commentable association is not set

Instantiating a bare `Comment` should not raise. Might want to implement the fix by doing `validate :ensure_valid_role_for_commentable, if: -> { commentable.present? }` but I have a strong preference for this PR's implementation.