index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activemodel
/
lib
/
active_model
/
validations
/
validates.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Add `Style/RedundantFreeze` to remove redudant `.freeze`
Yasuo Honda
2018-09-29
1
-1
/
+1
*
Use string-based fields. [ci skip]
Cassidy Kobewka
2018-04-16
1
-1
/
+1
*
Inclusive Language in Documentation Examples [ci skip]
Cassidy Kobewka
2018-04-15
1
-1
/
+1
*
Update validates.rb
Lonre Wang
2017-12-10
1
-1
/
+1
*
Use frozen string literal in activemodel/
Kir Shatrov
2017-07-16
1
-0
/
+2
*
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
Matthew Draper
2017-07-02
1
-1
/
+0
*
Enforce frozen string in Rubocop
Kir Shatrov
2017-07-01
1
-0
/
+1
*
remove uniqueness validators from ActiveModel examples
stve
2017-05-02
1
-3
/
+2
*
Privatize unneededly protected methods in Active Model
Akira Matsuda
2016-12-24
1
-3
/
+3
*
Add missing `+` around a some literals.
bogdanvlviv
2016-10-27
1
-1
/
+1
*
applies new string literal convention in activemodel/lib
Xavier Noria
2016-08-06
1
-2
/
+2
*
Freeze string literals when not mutated.
schneems
2015-07-19
1
-1
/
+1
*
Add a note on custom validation contexts.
Justin Weiss
2014-08-05
1
-3
/
+5
*
revises references to :allow_(nil|blank) in some docs [ci skip] [Steven Yang ...
Xavier Noria
2014-01-26
1
-1
/
+3
*
fix email regex example code [ci skip]
Angelo capilleri
2013-12-03
1
-1
/
+1
*
Convert ActiveModel to 1.9 hash syntax.
Patrick Robertson
2013-05-01
1
-2
/
+2
*
Set hash value instead of using merge!
Carlos Antonio da Silva
2012-11-04
1
-1
/
+1
*
minor edits and remove mixed titles in AM::Validations docs [ci skip]
Francesco Rodriguez
2012-10-25
1
-6
/
+5
*
Added forgotten :message option to ActiveModel validates documentation
Anatoly Makarevich
2012-09-07
1
-3
/
+3
*
AM::Validation#validates: ability to pass custom exception to `:strict` option
Bogdan Gusiev
2012-08-06
1
-2
/
+5
*
update #validates and #validates! documentation [ci skip]
Francesco Rodriguez
2012-07-29
1
-31
/
+43
*
AM::Validations: remove documentation duplicates
Bogdan Gusiev
2012-07-10
1
-3
/
+20
*
Don't enable validations when passing false hash values to ActiveModel.validates
Steve Purcell
2012-05-28
1
-0
/
+1
*
revise docs [ci skip]
Vijay Dev
2012-02-01
1
-3
/
+3
*
Generate strict validation error messages with attribute name
Carlos Antonio da Silva
2012-02-01
1
-7
/
+6
*
whitespaces
dreamfall
2012-01-17
1
-3
/
+3
*
validates method should not change options argument
dreamfall
2012-01-17
1
-1
/
+1
*
Fix a tiny typo in custom validators documentation
Jean Boussier
2011-11-10
1
-1
/
+1
*
Use .add instead of << to add errors
Evgeniy Dolzhenko
2011-10-11
1
-2
/
+2
*
Typo fix
Bogdan Gusiev
2011-08-25
1
-1
/
+1
*
Implemented strict validation concept
Bogdan Gusiev
2011-08-17
1
-3
/
+15
*
Provide a way to specify alternate option keys for validates
Carl Lerche
2011-02-05
1
-1
/
+7
*
Do not require that validation attributes be specified as symbols
Carl Lerche
2011-02-05
1
-2
/
+1
*
Add support for namespaced validators
Samuel Kadolph
2010-12-16
1
-1
/
+7
*
Better shortcut options for custom validators [#5672 state:resolved]
Obie Fernandez
2010-09-24
1
-5
/
+10
*
you rarely want ^ or $ in validations, use \A when you mean \A
Xavier Noria
2010-08-18
1
-2
/
+2
*
Missing object for comparison in ActiveModel::EachValidator example code.
Trey Bean
2010-08-17
1
-1
/
+1
*
Deletes trailing whitespaces (over text files only find * -type f -exec sed '...
Santiago Pastorino
2010-08-14
1
-5
/
+5
*
fixes a typo reported by rymai
Xavier Noria
2010-08-10
1
-1
/
+1
*
Add titles to the rest of the files in active_model/validations/*
Rizwan Reza
2010-06-15
1
-0
/
+2
*
Fix a bunch of minor spelling mistakes
Evgeniy Dolzhenko
2010-06-11
1
-1
/
+1
*
Validates needs hash slice.
José Valim
2010-01-17
1
-0
/
+2
*
Fix typos and add tests to ensure they will be caught the next time.
José Valim
2010-01-11
1
-1
/
+1
*
Fix typo by renaming :genre to :gender.
José Valim
2010-01-09
1
-1
/
+1
*
Allow validates to map some types to specific options. So now you can do:
José Valim
2010-01-08
1
-12
/
+32
*
Allow :if, :unless, :on, :allow_nil and :allow_blank as shared options in val...
José Valim
2010-01-07
1
-6
/
+18
*
Add validates method as shortcut to setup validators for a given set of attri...
jamie
2010-01-07
1
-0
/
+74