Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | minor docs improvements | Oscar Del Ben | 2012-04-26 | 1 | -3/+3 |
| | |||||
* | fix ActiveModel::Validations::Callbacks doc | Jan Xie | 2012-04-15 | 1 | -1/+2 |
| | |||||
* | Remove code duplication in InclusionValidator and ExclusionValidator. | Rafael Mendonça França | 2012-03-28 | 3 | -44/+39 |
| | | | | | | | | Orginal code by @jamescook Closes #1352 [Rafael Mendonça França + James Cook] | ||||
* | Prefer || over 'or' for boolean operations | Benjamin Quorning | 2012-02-22 | 1 | -1/+1 |
| | |||||
* | remove unnecessary require core_ext/string/encoding | Sergey Nartimov | 2012-02-14 | 1 | -2/+0 |
| | |||||
* | To infinity… and beyond! | Niels Ganser | 2012-02-06 | 1 | -2/+2 |
| | | | | | | | Allow infinite values for validates_length_of. Particularly useful for prettily defining an open ended range such as validates_length_of :human_stupidity, :within => 0..Float::INFINITY | ||||
* | AS::Callbacks: :skip_after_callbacks_if_terminated option | Bogdan Gusiev | 2012-02-03 | 1 | -2/+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 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-01-11 | 1 | -1/+1 |
|\ | |||||
| * | Update ConfirmationValidator docs, correct when the validator runs | Alan Harper | 2012-01-05 | 1 | -1/+1 |
| | | |||||
* | | Remove Array.wrap call in ActiveModel | Rafael Mendonça França | 2012-01-06 | 1 | -2/+2 |
|/ | |||||
* | don't call an extra method if options[:tokenizer] is not present | Vasiliy Ermolovich | 2011-12-24 | 1 | -4/+2 |
| | |||||
* | use Range#min and Range#max to reduce extra statement | Vasiliy Ermolovich | 2011-12-24 | 1 | -2/+1 |
| | |||||
* | deprecate String#encoding_aware? and remove its usage | Sergey Nartimov | 2011-12-24 | 1 | -2/+0 |
| | |||||
* | added :other_than => :!= option to numericality validator | Jakub Kuźma | 2011-12-21 | 1 | -2/+3 |
| | |||||
* | Ensure length validator also works on 1.8.7. | José Valim | 2011-12-06 | 1 | -6/+17 |
| | |||||
* | Don't tokenize string when counting characters | Ian Young | 2011-12-04 | 1 | -2/+1 |
| | |||||
* | Fix argument error message for length validation | Alexey Vakhov | 2011-12-01 | 1 | -1/+1 |
| | |||||
* | Cosmetic fixes in AM validatations docs | Alexey Vakhov | 2011-11-27 | 2 | -4/+4 |
| | |||||
* | 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 | 2 | -3/+3 |
| | |||||
* | Typo fix | Bogdan Gusiev | 2011-08-25 | 1 | -1/+1 |
| | |||||
* | Implemented strict validation concept | Bogdan Gusiev | 2011-08-17 | 10 | -5/+35 |
| | | | | | | | In order to deliver debug information to dev team instead of display error message to end user Implemented strict validation concept that suppose to define validation that always raise exception when fails | ||||
* | Fix example code for #validates_with instance method | Ben Marini | 2011-07-24 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-06-06 | 1 | -3/+3 |
|\ | | | | | | | | | Conflicts: activerecord/RUNNING_UNIT_TESTS | ||||
| * | remove stray ( | Vijay Dev | 2011-06-03 | 1 | -1/+1 |
| | | |||||
| * | Change hashrocket spacing to match conventions. | Ben Orenstein | 2011-06-02 | 1 | -2/+2 |
| | | |||||
* | | Don't add .rb in requires | Guillermo Iguaran | 2011-05-31 | 2 | -2/+2 |
|/ | |||||
* | Remove extra white spaces on ActiveModel docs. | Sebastian Martinez | 2011-05-23 | 7 | -13/+13 |
| | |||||
* | Remove unneeded merge with default false options | Akira Matsuda | 2011-05-16 | 1 | -4/+0 |
| | |||||
* | Don't add DEFAULT_TOKENIZER to every instance of LengthValidator. Just use ↵ | Akira Matsuda | 2011-05-16 | 1 | -2/+2 |
| | | | | it only when needed. | ||||
* | fix typo | Aditya Sanghi | 2011-04-29 | 1 | -1/+1 |
| | |||||
* | :if should not fire on validations when not in context with :on | Aditya Sanghi | 2011-04-29 | 1 | -2/+2 |
| | |||||
* | Remove code duplication. | José Valim | 2011-04-11 | 3 | -20/+27 |
| | |||||
* | No need to rescue here. Invoking the wrong method in an object can happen ↵ | José Valim | 2011-04-11 | 3 | -6/+0 |
| | | | | anywhere if you are not careful. In other words, test your shit. | ||||
* | Revert "Add :use_include option to allow user to explicitly use ↵ | José Valim | 2011-04-11 | 2 | -18/+14 |
| | | | | | | | | `Range#include?` method in Ruby 1.9" Use :with => range.to_a instead. This reverts commit f6540211b5b9133c9f93c11655a04d613c237e67. | ||||
* | Add :use_include option to allow user to explicitly use `Range#include?` ↵ | Prem Sichanugrist | 2011-04-10 | 2 | -14/+18 |
| | | | | | | method in Ruby 1.9 In Ruby 1.9 we're currently use `Range#cover?` to fix the performance problem. However, there might be the case that you want to use `Range#include?` instead. This patch will give you that option. | ||||
* | Add support for proc or lambda as an option for InclusionValidator, ↵ | Prem Sichanugrist | 2011-04-10 | 3 | -20/+76 |
| | | | | | | ExclusionValidator, and FormatValidator You can now use a proc or lambda in :in option for InclusionValidator and ExclusionValidator, and :with, :without option for FormatValidator | ||||
* | Refactor length validation | Santiago Pastorino | 2011-03-12 | 1 | -3/+3 |
| | |||||
* | length validation for fixnums | Andriy Tyurnikov | 2011-03-12 | 1 | -1/+2 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Configuration options are symbols | Paco Guzman | 2011-03-06 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-02-21 | 8 | -10/+24 |
|\ | |||||
| * | copy-edits 8d96b89 | Xavier Noria | 2011-02-21 | 8 | -9/+24 |
| | | |||||
| * | Clarification of ActiveRecord ActiveModel validation documentation | Peer Allan | 2011-02-18 | 6 | -7/+6 |
| | | |||||
* | | documents the backported Range#cover?, and related stuff | Xavier Noria | 2011-02-20 | 1 | -3/+5 |
| | | |||||
* | | refactored ActiveModel::Validations::InclusionValidator#validate_each | Diego Carrion | 2011-02-19 | 1 | -18/+8 |
|/ | | | | | | [#6455 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Change validates inclusion to use cover? for Ranges in ruby 1.9 [#6453 ↵ | Frederick Cheung | 2011-02-18 | 1 | -3/+20 |
| | | | | | | state:committed] Signed-off-by: Xavier Noria <fxn@hashref.com> |