Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 45 lines (27 sloc) 1.08 kb
e2b6e4f netskin-ci first commit
netskin-ci authored
1 =About
2
3 Additional sexy validators for sequel models. Depends on my sexy_validations gem.
4
5 ==Install
6
7 Simply install it as any other gem:
8
9 gem install sequel_sexy_validations
10
11 Or when using bundler, add it got your Gemfile:
12
13 gem sequel_sexy_validations
14
15 ==Quick Start
16
17 In your model:
18
19 class User < Sequel::Model
20 include SexyValidations
21 plugin :sexy_validations
22
23 validates :name, :uniqueness => true
24 end
25
26 ==Todo
27
28 * Use I18n for messages
29 * Source documentation (rdoc)
30 * Tests
31
32 ==Contributing
33
34 If you'd like to contribute a feature or bugfix: Thanks! To make sure your
35 fix/feature has a high chance of being included, please read the following
36 guidelines:
37
38 1. Fork the project.
39 2. Make your feature addition or bug fix.
40 3. Add tests for it. This is important so we don’t break anything in a future version unintentionally.
41 4. Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
42 5. Send me a pull request. Bonus points for topic branches.
43
44
Something went wrong with that request. Please try again.