public
Description: An ActiveRecord validation that ensures a certain field will parse as a Liquid template.
Homepage:
Clone URL: git://github.com/bhauman/validates_proper_liquid_syntax.git
name age message
file .#README.rdoc Mon May 25 12:46:20 -0700 2009 initial commit [bhauman]
file MIT-LICENSE Mon May 25 12:46:20 -0700 2009 initial commit [bhauman]
file README.rdoc Mon May 25 12:46:20 -0700 2009 initial commit [bhauman]
file Rakefile Mon May 25 12:46:20 -0700 2009 initial commit [bhauman]
file init.rb Mon May 25 12:46:20 -0700 2009 initial commit [bhauman]
directory lib/ Fri Sep 11 18:19:10 -0700 2009 fixed issue with loading liquid gem on case sen... [tobias]
directory test/ Mon May 25 12:46:20 -0700 2009 initial commit [bhauman]
README.rdoc

Validates Proper Liquid Syntax

An ActiveRecord validation that validates that a certain field conforms to Liquid syntax.

Example

  class UserLiquidTemplate < ActiveRecord::Base
    validates_proper_liquid_syntax :template
  end

Requirements

This plugin requires the Liquid gem.

  http://github.com/tobi/liquid

Copyright © 2009 Bruce Hauman, released under the MIT license