Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 4e802faf60
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (11 sloc) 0.355 kb

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.

Jump to Line
Something went wrong with that request. Please try again.