public
Description: Ruby Sequel adapter for NotNaughty
Homepage: http://monkey-patch.me/not-naughty
Clone URL: git://github.com/boof/sequel_notnaughty.git
boof (author)
Thu Oct 30 19:25:37 -0700 2008
commit  4e802faf60dc40a5b6bf15dda8231bc466919c9b
tree    b5a66d4840d062d723c388c46e765b9121e70862
parent  01b448bf3930e0134fa55e12acf9ae7044eae5bc
README.rdoc

Ruby-Sequels adapter to NotNaughty - The Validation Framework

Validate all your Ruby Sequel models with NotNaughty:

  class Sequel::Model
    is :notnaughty
  end

Validate just specific models:

  class Item < Sequel::Model
    is :notnaughty

    validates_uniqueness_of :name, :in => category
  end

For more examples see NotNaughty documentation.