aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model
Commit message (Expand)AuthorAgeFilesLines
* Use :present as key for the absence validatior messageRafael Mendonça França2012-12-212-2/+2
* Remove ActiveModel::Errors#add_on_present method.Rafael Mendonça França2012-12-213-16/+3
* Add `ActiveModel::Validations::AbsenceValidator`, a validator to check the a...Roberto Vasquez Angel2012-12-153-0/+45
* Merge pull request #8510 from thedarkone/thread_safety_improvementsAaron Patterson2012-12-141-4/+5
|\
| * Replace some global Hash usages with the new thread safe cache.thedarkone2012-12-141-4/+5
* | Only call `in_time_zone` on Time or DateTime instancesAndrew White2012-12-111-1/+6
|/
* Replace comments' non-breaking spaces with spacesclaudiob2012-12-043-6/+6
* Reset attributes should not report changes.Renato Mascarenhas2012-12-011-1/+4
* Remove observers and sweepersRafael Mendonça França2012-11-282-525/+0
* Specify type of singular association during serializationSteve Klabnik2012-11-281-1/+6
* Merge pull request #7282 from xHire/validates_length_of_fixRafael Mendonça França2012-11-261-2/+14
|\
| * Length validation handles correctly nil. Fix #7180Michal Zima2012-11-261-2/+14
* | cleanup, removed dispensable `require` statements from `ActiveModel`Yves Senn2012-11-257-12/+0
* | cleanup, remove broken whitespaceYves Senn2012-11-254-9/+9
|/
* Point user to strong_parameters as the new protection model [ci skip]Saulius Grigaliunas2012-11-181-4/+6
* Initialize #min_cost to avoid warning in Ruby 2.0Carlos Antonio da Silva2012-11-171-2/+3
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-11-171-0/+4
|\
| * add details on password confirmation used with has_secure_passwordDaniel Lopes2012-11-131-0/+4
* | Use BCrypt's MIN_COST in the test environment for speedier testsTrevor Turk2012-11-142-1/+8
* | Trivial documentation fix for ActiveModel::Naming comment.Dennis Taylor2012-11-091-2/+2
* | rm dead codeAaron Patterson2012-11-091-1/+1
* | use Array() instead flattenVasiliy Ermolovich2012-11-051-2/+2
* | Raise ArgumentError when no attribute is given to AMo::EachValidatorCarlos Antonio da Silva2012-11-041-1/+1
* | Set hash value instead of using merge!Carlos Antonio da Silva2012-11-041-1/+1
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-11-0312-43/+35
|\
| * minor edits and remove mixed titles in AM::Validations docs [ci skip]Francesco Rodriguez2012-10-259-21/+13
| * fix output messages - docs [ci skip]Francesco Rodriguez2012-10-221-16/+16
| * convert comments to 1.9 hash syntaxAvnerCohen2012-10-223-17/+17
* | Make caller attribute in deprecation methods optionalAlexey Gaziev2012-10-302-2/+2
* | Provide a call stack for deprecation warnings where needed.Nikita Afanasenko2012-10-292-7/+6
* | fix AM::Serializers titles [ci skip]Francesco Rodriguez2012-10-262-2/+2
* | AM::Serializers::Xml depends on AM::NamingFrancesco Rodriguez2012-10-261-0/+4
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-10-2123-35/+35
|\
| * minor edits in AM documentation [ci skip]Francesco Rodriguez2012-10-2122-32/+32
| * remove non-breaking spaces [ci skip]Francesco Rodriguez2012-10-181-3/+3
* | active_model/validations requires necessary files to runYves Senn2012-10-181-0/+1
* | cleanup, replace non-breaking spaces with spacesYves Senn2012-10-181-5/+5
|/
* Use the `flat_map` method.Rafael Mendonça França2012-10-031-2/+2
* Revert "Merge pull request #7826 from sikachu/master-validators-kind"Rafael Mendonça França2012-10-021-14/+1
* Don't use tap in this case.Rafael Mendonça França2012-10-021-5/+7
* Make `.validators_on` accept `:kind` optionPrem Sichanugrist2012-10-021-1/+12
* Switch to using include? on validation callbacksJohn Foley2012-09-231-2/+2
* Fix collisions with before and after validation callbacks.John Foley2012-09-231-2/+6
* add :nodoc: to AMo::DeprecatedMassAssignmentSecurity::ClassMethods [ci skip]Francesco Rodriguez2012-09-201-3/+3
* change AMo::ForbiddenAttributesProtection#sanitize_for_mass_assignment to pro...Francesco Rodriguez2012-09-201-7/+8
* update AMo::ForbiddenAttributesError documentation [ci skip]Francesco Rodriguez2012-09-201-0/+12
* add :nodoc: directives to AMo::DeprecatedMassAssignmentSecurity [ci skip]Francesco Rodriguez2012-09-201-3/+3
* attr_accessible and attr_protected raise an exception pointing to use plugin ...Guillermo Iguaran2012-09-161-0/+19
* Rename ForbiddenAttributes exception to ForbiddenAttributesErrorGuillermo Iguaran2012-09-161-2/+2
* Remove MassAssignmentSecurity from ActiveModelGuillermo Iguaran2012-09-164-468/+4