Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 18 lines (11 sloc) 0.355 kB
01b448b @boof Updated to 0.6.2.
authored
1 = Ruby-Sequels adapter to NotNaughty - The Validation Framework
2
3 Validate all your Ruby Sequel models with NotNaughty:
4
5 class Sequel::Model
6 is :notnaughty
7 end
8
9 Validate just specific models:
10
11 class Item < Sequel::Model
12 is :notnaughty
13
14 validates_uniqueness_of :name, :in => category
15 end
16
17 For more examples see NotNaughty documentation.
Something went wrong with that request. Please try again.