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
/
activerecord
/
lib
/
active_record
/
validations.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Allow validates_acceptance_of to use a real attribute instead of only virtual...
David Heinemeier Hansson
2007-11-25
1
-3
/
+3
*
validates_inclusion_of and validates_exclusion_of allow formatted :message st...
Jeremy Kemper
2007-11-20
1
-4
/
+6
*
Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva]
Marcel Molina
2007-11-08
1
-3
/
+3
*
validates_uniqueness_of behaves well with abstract superclasses. References #...
Jeremy Kemper
2007-10-23
1
-1
/
+15
*
validates_uniqueness_of behaves well with single-table inheritance. Closes #3...
Jeremy Kemper
2007-10-08
1
-1
/
+4
*
minor speedups + forward-compat syntax
Jeremy Kemper
2007-09-13
1
-2
/
+2
*
Add :allow_blank to validations. Like allow_nil, but for values which are +bl...
Michael Koziarski
2007-09-05
1
-1
/
+8
*
Remove deprecated functionality from edge rails. Closes #9387 [lifofifo]
Michael Koziarski
2007-09-03
1
-13
/
+0
*
Pass the right binding when string is passed to :if with validations. [casper...
Michael Koziarski
2007-08-28
1
-1
/
+1
*
Use extract_options instead of ad-hoc partial implementations. [norbert] Clos...
Michael Koziarski
2007-08-28
1
-11
/
+12
*
Remove unnecessary loop in validates_presence_of. [sur] Closes #9392
Michael Koziarski
2007-08-28
1
-7
/
+5
*
Make sure create! raises errors on validation when creating multiple records....
Michael Koziarski
2007-08-28
1
-1
/
+1
*
misc doc fixes + Add ActiveResource to Rails::Info. Closes #8741, #9008, #90...
Rick Olson
2007-07-25
1
-45
/
+45
*
Added :unless clause to validations (closes #8003) [monki]
David Heinemeier Hansson
2007-07-24
1
-3
/
+36
*
Fixed validates_associated should not stop on the first error (closes #4276) ...
David Heinemeier Hansson
2007-06-23
1
-1
/
+1
*
validates_numericality_of takes :greater_than, :greater_than_or_equal_to, :eq...
Jeremy Kemper
2007-05-26
1
-14
/
+51
*
Document :allow_nil option for validates_acceptance_of since it defaults to t...
Marcel Molina
2007-05-06
1
-0
/
+1
*
Fix typo in validations documentation. Closes #7669. [ee]
Marcel Molina
2007-03-03
1
-2
/
+2
*
Docs: validations examples. Closes #7343.
Jeremy Kemper
2007-01-24
1
-13
/
+74
*
Apply scoping during initialize instead of create. Fixes setting of foreign ...
Tobias Lütke
2007-01-12
1
-1
/
+0
*
[DOCS] Document :allow_nil option of #validate_uniqueness_of. Closes #3143 [C...
Rick Olson
2007-01-05
1
-0
/
+1
*
Consolidated different create and create! versions to call through to the bas...
Tobias Lütke
2006-12-06
1
-4
/
+2
*
validates_numericality_of uses \A \Z to ensure the entire string matches rath...
Jeremy Kemper
2006-11-20
1
-3
/
+5
*
Run validations in the order they were declared. Closes #6657.
Jeremy Kemper
2006-11-20
1
-1
/
+1
*
Consistently use LOWER() for uniqueness validations (rather than mixing with ...
Jeremy Kemper
2006-11-05
1
-2
/
+2
*
a few more deprecation improvements
Jamis Buck
2006-10-24
1
-1
/
+1
*
Deprecated add_on_boundary_breaking (use validates_length_of instead) (closes...
David Heinemeier Hansson
2006-10-09
1
-0
/
+1
*
Rollback [4917]. Closes #785.
Jeremy Kemper
2006-09-07
1
-2
/
+1
*
Backed out of new_record? to new? transformation as it would screw up existin...
David Heinemeier Hansson
2006-09-05
1
-3
/
+8
*
Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::Base.new?...
David Heinemeier Hansson
2006-09-05
1
-8
/
+3
*
Document validates_presences_of behavior with booleans: you probably want val...
Jeremy Kemper
2006-09-04
1
-0
/
+4
*
validates_confirmation_of only kicks in when the attribute, rather than its c...
Jeremy Kemper
2006-09-03
1
-1
/
+2
*
alias_method_chain preserves method punctuation so foo, foo?, and foo! may be...
Jeremy Kemper
2006-06-21
1
-1
/
+1
*
create! no longer blows up when no attributes are passed and a :create scope ...
Jeremy Kemper
2006-05-19
1
-0
/
+1
*
Replace alias method chaining with Module#alias_method_chain. [Marcel Molina ...
Marcel Molina
2006-04-29
1
-8
/
+3
*
Replace Ruby's deprecated append_features in favor of included. [Marcel Molin...
Marcel Molina
2006-04-29
1
-2
/
+1
*
Add warning about the proper way to validate the presence of a foreign key. C...
Marcel Molina
2006-04-26
1
-0
/
+12
*
Add ActiveRecord::Errors#to_xml
Jamis Buck
2006-04-21
1
-0
/
+12
*
DRY up and tweak style of the validation error object.
Marcel Molina
2006-04-15
1
-14
/
+7
*
Add :case_sensitive option to validates_uniqueness_of (closes #3090) [Rick]
Rick Olson
2006-04-12
1
-3
/
+11
*
Doc fix #3960 [jonrailsdev@shumi.org]
David Heinemeier Hansson
2006-04-03
1
-2
/
+2
*
Fixed documentation
David Heinemeier Hansson
2006-03-28
1
-1
/
+1
*
Update description
David Heinemeier Hansson
2006-03-28
1
-3
/
+3
*
Fixed that Base.save should always return false if the save didn't succeed, i...
David Heinemeier Hansson
2006-02-28
1
-3
/
+5
*
Example for validates_presence_of method (closes #3966) [Robby Russell]
David Heinemeier Hansson
2006-02-26
1
-1
/
+7
*
Fixed validates_length_of to work on UTF-8 strings by using characters instea...
David Heinemeier Hansson
2006-02-25
1
-21
/
+25
*
Renamed Errors#count to Errors#size but kept an alias for the old name (and i...
David Heinemeier Hansson
2006-02-23
1
-1
/
+4
*
ActiveRecord::RecordInvalid now states which validations failed in its defaul...
Tobias Lütke
2006-02-05
1
-2
/
+2
*
Silly me
David Heinemeier Hansson
2006-02-01
1
-5
/
+0
*
Added Errors#any? to mean !Errors#empty? [DHH]
David Heinemeier Hansson
2006-02-01
1
-0
/
+5
[next]