|
|
|
@9248
|
[9248]
|
04/10/08 18:06:05 |
rick |
Change validates_uniqueness_of :case_sensitive option default back to true … |
|
|
|
@9226
|
[9226]
|
04/05/08 03:52:58 |
pratik |
Improve documentation. |
|
|
|
@9168
|
[9168]
|
03/31/08 12:57:47 |
pratik |
Ensure that validates_uniqueness_of works with with_scope. Closes #9235. … |
|
|
|
@9160
|
[9160]
|
03/31/08 01:50:07 |
bitsweat |
Fix case-sensitive validates_uniqueness_of. Closes #11366 [miloops] |
|
|
|
@9158
|
[9158]
|
03/31/08 01:49:31 |
bitsweat |
Add :message option to validates_numericality_of. Closes #11456 [miloops, … |
|
|
|
@9129
|
[9129]
|
03/29/08 17:53:44 |
david |
Fixed that validates_size_of :within works in associations (closes #11295, … |
|
|
|
@9055
|
[9055]
|
03/18/08 17:56:05 |
bitsweat |
Refactor filters to use Active Support callbacks. Closes #11235. |
|
|
|
@8927
|
[8927]
|
02/24/08 00:37:12 |
bitsweat |
Fix rdoc typo. Closes #11205 [wangchun] |
|
|
|
@8845
|
[8845]
|
02/10/08 02:49:11 |
nzkoz |
Show RecordInvalid in the documentation. References #10976 [kampers] |
|
|
|
@8825
|
[8825]
|
02/09/08 08:24:35 |
nzkoz |
Remove misleading / incorrect warning from validation documentation. … |
|
|
|
@8802
|
[8802]
|
02/04/08 23:29:21 |
nzkoz |
Make the docs reference the correct function. [Tobi Reif] |
|
|
|
@8733
|
[8733]
|
01/26/08 05:08:20 |
nzkoz |
Add tests and documentation for allow_blank. Closes #10651 [blj] |
|
|
|
@8664
|
[8664]
|
01/19/08 02:44:45 |
bitsweat |
Extract ActiveSupport::Callbacks from Active Record, test case setup and … |
|
|
|
@8575
|
[8575]
|
01/06/08 20:27:56 |
bitsweat |
Ruby 1.9 compat: instance_eval binding to get the record binding instead … |
|
|
|
@8571
|
[8571]
|
01/05/08 14:58:28 |
bitsweat |
More thoroughly quote table names. Exposes some issues with sqlite2 … |
|
|
|
@8379
|
[8379]
|
12/13/07 03:33:54 |
marcel |
Document what to pass the :accept option for validates_acceptance_of when … |
|
|
|
@8377
|
[8377]
|
12/12/07 23:55:14 |
rick |
Fix that validates_acceptance_of still works for non-existent tables … |
|
|
|
@8345
|
[8345]
|
12/10/07 00:47:55 |
bitsweat |
Document the validates class method. Closes #10216 [Farley Knight] |
|
|
|
@8288
|
[8288]
|
12/05/07 15:04:06 |
marcel |
Add documentation about the virtual attribute added by … |
|
|
|
@8281
|
[8281]
|
12/05/07 14:24:39 |
marcel |
Document the :message option for validates_associated. Closes #10357 … |
|
|
|
@8256
|
[8256]
|
12/02/07 19:54:18 |
marcel |
Fix documentation typo introduced in [8250]. Closes #10339 [Henrik N] |
|
|
|
@8250
|
[8250]
|
12/01/07 23:12:49 |
nzkoz |
Warn users about the race condition in validates_uniqueness_of. [Koz] |
|
|
|
@8208
|
[8208]
|
11/25/07 22:34:46 |
david |
Allow validates_acceptance_of to use a real attribute instead of only … |
|
|
|
@8172
|
[8172]
|
11/20/07 22:01:04 |
bitsweat |
validates_inclusion_of and validates_exclusion_of allow formatted :message … |
|
|
|
@8113
|
[8113]
|
11/08/07 03:37:16 |
marcel |
Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva] |
|
|
|
@8000
|
[8000]
|
10/23/07 06:18:42 |
bitsweat |
validates_uniqueness_of behaves well with abstract superclasses. … |
|
|
|
@7787
|
[7787]
|
10/08/07 01:44:55 |
bitsweat |
validates_uniqueness_of behaves well with single-table inheritance. Closes … |
|
|
|
@7471
|
[7471]
|
09/13/07 23:13:34 |
bitsweat |
minor speedups + forward-compat syntax |
|
|
|
@7407
|
[7407]
|
09/05/07 05:37:52 |
nzkoz |
Add :allow_blank to validations. Like allow_nil, but for values which are … |
|
|
|
@7402
|
[7402]
|
09/03/07 00:17:09 |
nzkoz |
Remove deprecated functionality from edge rails. Closes #9387 [lifofifo] |
|
|
|
@7365
|
[7365]
|
08/28/07 23:17:17 |
nzkoz |
Pass the right binding when string is passed to :if with validations. … |
|
|
|
@7364
|
[7364]
|
08/28/07 23:16:49 |
nzkoz |
Use extract_options instead of ad-hoc partial implementations. [norbert] … |
|
|
|
@7362
|
[7362]
|
08/28/07 23:15:47 |
nzkoz |
Remove unnecessary loop in validates_presence_of. [sur] Closes #9392 |
|
|
|
@7361
|
[7361]
|
08/28/07 20:44:51 |
nzkoz |
Make sure create! raises errors on validation when creating multiple … |
|
|
|
@7235
|
[7235]
|
07/25/07 02:50:35 |
rick |
misc doc fixes + Add ActiveResource to Rails::Info. Closes #8741, #9008, … |
|
|
|
@7215
|
[7215]
|
07/24/07 01:48:17 |
david |
Added :unless clause to validations (closes #8003) [monki] |
|
|
|
@7094
|
[7094]
|
06/23/07 17:01:00 |
david |
Fixed validates_associated should not stop on the first error (closes … |
|
|
|
@6850
|
[6850]
|
05/26/07 00:30:14 |
bitsweat |
validates_numericality_of takes :greater_than, :greater_than_or_equal_to, … |
|
|
|
@6687
|
[6687]
|
05/06/07 05:16:41 |
marcel |
Document :allow_nil option for validates_acceptance_of since it defaults … |
|
|
|
@6301
|
[6301]
|
03/03/07 18:49:43 |
marcel |
Fix typo in validations documentation. Closes #7669. [ee] |
|
|
|
@6031
|
[6031]
|
01/24/07 12:17:14 |
bitsweat |
Docs: validations examples. Closes #7343. |
|
|
|
@5913
|
[5913]
|
01/12/07 21:14:36 |
xal |
Apply scoping during initialize instead of create. Fixes setting of … |
|
|
|
@5853
|
[5853]
|
01/05/07 20:17:37 |
rick |
[DOCS] Document :allow_nil option of #validate_uniqueness_of. Closes #3143 … |
|
|
|
@5684
|
[5684]
|
12/06/06 00:13:31 |
xal |
Consolidated different create and create! versions to call through to the … |
|
|
|
@5589
|
[5589]
|
11/20/06 10:51:50 |
bitsweat |
validates_numericality_of uses \A \Z to ensure the entire string matches … |
|
|
|
@5588
|
[5588]
|
11/20/06 10:12:38 |
bitsweat |
Run validations in the order they were declared. Closes #6657. |
|
|
|
@5434
|
[5434]
|
11/05/06 19:20:39 |
bitsweat |
Consistently use LOWER() for uniqueness validations (rather than mixing … |
|
|
|
@5360
|
[5360]
|
10/24/06 17:27:16 |
minam |
a few more deprecation improvements |
|
|
|
@5255
|
[5255]
|
10/09/06 01:42:09 |
david |
Deprecated add_on_boundary_breaking (use validates_length_of instead) … |
|
|
|
@5067
|
[5067]
|
09/07/06 21:34:35 |
bitsweat |
Rollback [4917]. Closes #785. |
|
|
|
@5018
|
[5018]
|
09/05/06 18:54:24 |
david |
Backed out of new_record? to new? transformation as it would screw up … |
|
|
|
@5017
|
[5017]
|
09/05/06 18:48:10 |
david |
Deprecated ActiveRecord::Base.new_record? in favor of … |
|
|
|
@4980
|
[4980]
|
09/04/06 06:33:22 |
bitsweat |
Document validates_presences_of behavior with booleans: you probably want … |
|
|
|
@4917
|
[4917]
|
09/03/06 17:53:51 |
bitsweat |
validates_confirmation_of only kicks in when the attribute, rather than … |
|
|
|
@4482
|
[4482]
|
06/21/06 20:40:14 |
bitsweat |
alias_method_chain preserves method punctuation so foo, foo?, and foo! may … |
|
|
|
@4348
|
[4348]
|
05/19/06 01:05:20 |
bitsweat |
create! no longer blows up when no attributes are passed and a :create … |
|
|
|
@4312
|
[4312]
|
04/29/06 20:20:22 |
marcel |
Replace alias method chaining with Module#alias_method_chain. [Marcel … |
|
|
|
@4310
|
[4310]
|
04/29/06 18:10:14 |
marcel |
Replace Ruby's deprecated append_features in favor of included. [Marcel … |
|
|
|
@4285
|
[4285]
|
04/26/06 22:06:28 |
marcel |
Add warning about the proper way to validate the presence of a foreign … |
|
|
|
@4243
|
[4243]
|
04/21/06 17:04:00 |
minam |
Add ActiveRecord::Errors#to_xml |
|
|
|
@4213
|
[4213]
|
04/15/06 23:22:57 |
marcel |
DRY up and tweak style of the validation error object. |
|
|
|
@4207
|
[4207]
|
04/12/06 20:42:13 |
rick |
Add :case_sensitive option to validates_uniqueness_of (closes #3090) … |
|
|
|
@4142
|
[4142]
|
04/03/06 18:47:49 |
david |
Doc fix #3960 [jonrailsdev@shumi.org] |
|
|
|
@4078
|
[4078]
|
03/28/06 03:06:40 |
david |
Fixed documentation |
|
|
|
@4074
|
[4074]
|
03/28/06 01:11:09 |
david |
Update description |
|
|
|
@3707
|
[3707]
|
02/28/06 20:37:21 |
david |
Fixed that Base.save should always return false if the save didn't … |
|
|
|
@3677
|
[3677]
|
02/26/06 23:58:22 |
david |
Example for validates_presence_of method (closes #3966) [Robby Russell] |
|
|
|
@3654
|
[3654]
|
02/25/06 23:54:57 |
david |
Fixed validates_length_of to work on UTF-8 strings by using characters … |
|
|
|
@3639
|
[3639]
|
02/23/06 05:09:04 |
david |
Renamed Errors#count to Errors#size but kept an alias for the old name … |
|
|
|
@3544
|
[3544]
|
02/05/06 17:39:54 |
xal |
ActiveRecord::RecordInvalid now states which validations failed in its … |
|
|
|
@3513
|
[3513]
|
02/01/06 04:18:07 |
david |
Silly me |
|
|
|
@3510
|
[3510]
|
02/01/06 04:11:24 |
david |
Added Errors#any? to mean !Errors#empty? [DHH] |
|
|
|
@3402
|
[3402]
|
01/13/06 01:51:45 |
marcel |
Disambiguate table names for columns in validates_uniquness_of's WHERE … |
|
|
|
@3206
|
[3206]
|
12/02/05 04:30:46 |
marcel |
Allow validate_uniqueness_of to be scoped by more than just one column. … |
|
|
|
@3142
|
[3142]
|
11/21/05 09:34:10 |
marcel |
Revert [3130]. Behavior of introducing Kernel.binding causes breakage. |
|
|
|
@3139
|
[3139]
|
11/21/05 08:34:50 |
bitsweat |
Use Kernel.binding rather than binding to allow columns of that name. … |
|
|
|
@3051
|
[3051]
|
11/16/05 08:16:54 |
bitsweat |
r3095@asus: jeremy | 2005-11-15 22:40:51 -0800
Ticket #1874 - Firebird … |
|
|
|
@2984
|
[2984]
|
11/12/05 05:09:05 |
minam |
Make Validations#create! use the current scope |
|
|
|
@2981
|
[2981]
|
11/11/05 18:49:01 |
bitsweat |
Include the Enumerable module in ActiveRecord::Errors. |
|
|
|
@2950
|
[2950]
|
11/09/05 10:38:48 |
csshsh |
Allow capital letters in the email address in the the validates_format_of … |
|
|
|
@2863
|
[2863]
|
11/03/05 18:54:16 |
bitsweat |
Add Model.create! to match existing model.save! method. When save! raises … |
|
|
|
@2744
|
[2744]
|
10/26/05 13:05:48 |
david |
Fix docs (closes #2491) |
|
|
|
@2726
|
[2726]
|
10/25/05 10:44:07 |
csshsh |
Minor documentation fix |
|
|
|
@2434
|
[2434]
|
10/02/05 02:00:50 |
bitsweat |
Association validation does not belong in a before_save callback: move it … |
|
|
|
@2355
|
[2355]
|
09/26/05 22:41:02 |
bitsweat |
r3604@asus: jeremy | 2005-09-26 19:10:42 -0700
Treat validates_size_of … |
|
|
|
@2353
|
[2353]
|
09/26/05 21:55:37 |
marcel |
Make update_attribute use the same writer method that update_attributes … |
|
|
|
@2202
|
[2202]
|
09/11/05 10:04:37 |
david |
Refactored to a more readble form #1813 |
|
|
|
@2010
|
[2010]
|
08/14/05 08:50:51 |
minam |
Fix typo in validations documentation #1938 [court3nay] |
|
|
|
@1603
|
[1603]
|
07/02/05 07:52:29 |
david |
Fixed validates_numericality_of to work with overrided getter-method when … |
|
|
|
@1602
|
[1602]
|
07/02/05 06:59:08 |
david |
Clarified intentions of validates_associated #870 |
|
|
|
@1520
|
[1520]
|
06/26/05 11:25:32 |
david |
Updated all references to the old find_first and find_all to use the new … |
|
|
|
@1509
|
[1509]
|
06/25/05 11:24:43 |
david |
Fixed that validations didn't respecting custom setting for too_short, … |
|
|
|
@1411
|
[1411]
|
06/13/05 10:52:53 |
minam |
Added ActiveRecord::Recursion to guard against recursive calls to #save |
|
|
|
@1346
|
[1346]
|
05/21/05 18:12:36 |
david |
Added Errors#add_on_blank which works like Errors#add_on_empty, but uses … |
|
|
|
@1340
|
[1340]
|
05/21/05 10:57:18 |
david |
Added the :if option to all validations that can either use a block or a … |
|
|
|
@1312
|
[1312]
|
05/19/05 17:00:16 |
david |
Fixed docs for scaffolding generator #1303 [thijs@vandervossen.net] |
|
|
|
@1258
|
[1258]
|
04/30/05 14:02:03 |
david |
Fixed that validate_length_of lost :on option when :within was specified … |
|
|
|
@1236
|
[1236]
|
04/24/05 16:25:57 |
david |
Added validates_exclusion_of as a negative of validates_inclusion_of |
|
|
|
@1216
|
[1216]
|
04/18/05 20:10:11 |
david |
Fixed documentation and prepared for release of 0.12 |
|
|
|
@1215
|
[1215]
|
04/18/05 19:19:23 |
david |
Added Base.save! that attempts to save the record just like Base.save but … |