class LiquidValidator

An ActiveRecord validator for any liquid field that you would use with effective_email_templates or otherwise

validates :body, liquid: true