aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/errors.rb
Commit message (Expand)AuthorAgeFilesLines
...
* | Bring back AMo#i18n_key methodSantiago Pastorino2011-03-301-2/+2
|/
* Revert "Properly interpolate i18n keys in modules [#5572 state:resolved]"Santiago Pastorino2011-02-271-2/+2
* implementing include? on AM::ErrorsAaron Patterson2011-02-091-0/+5
* we do not need message to be an arrayAaron Patterson2011-02-091-9/+8
* use map rather than array concatenationAaron Patterson2011-02-091-9/+4
* favor composition over inheritenceAaron Patterson2011-02-091-9/+33
* use 1 call to concat rather than calling << n timesAaron Patterson2011-02-091-4/+4
* fix difference between behaviour of blank and emptyHemant Kumar2011-01-051-1/+1
* ActiveModel::Errors.to_hash returns plain OrderedHash and used in to_json ser...Thilo Utke2010-12-011-1/+7
* Revert "Fix generation of wrong json string when field has multiple errors"José Valim2010-12-011-10/+0
* Fix generation of wrong json string when field has multiple errorsKrekoten' Marjan2010-12-011-0/+10
* Properly interpolate i18n keys in modules [#5572 state:resolved]Rodrigo Rosenfeld Rosas2010-09-241-2/+2
* Remove deprecations in ActiveModel.José Valim2010-08-291-23/+0
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-30/+30
* Merge remote branch 'docrails/master'Xavier Noria2010-08-051-2/+2
|\
| * fixing documentationNeeraj Singh2010-08-031-2/+2
* | Tidy up error.rb codeSubba Rao Pasupuleti2010-08-031-5/+1
|/
* ActiveModel::Errors json serialization to work as Rails 3b4 [#5254 state:reso...Alex Le2010-08-021-2/+2
* edit pass to apply API guideline wrt the use of "# =>" in example codeXavier Noria2010-07-301-10/+10
* Add a missing require to allow the usage of Array#to_xmlSantiago Pastorino2010-07-031-0/+1
* Work around the fact the JSON gem was overwriting to_json implementation for ...José Valim2010-06-261-10/+7
* Regression with how base errors messages are added to a model. Works correctl...Josh Kalderimis2010-06-231-1/+1
* Refactor previous commit a bit [#4057 state:resolved]José Valim2010-06-211-4/+7
* Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options has...Jeroen van Dijk2010-06-211-13/+39
* Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-151-1/+1
|\
| * Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-111-1/+1
* | Minor changes to active_model/errors.rbRizwan Reza2010-06-141-8/+16
|/
* revises rdoc of AMo::Error#add [#4738 state:resolved]Xavier Noria2010-06-011-6/+6
* Use %{} syntax in I18n (faster) instead of {{}}.José Valim2010-05-011-1/+1
* Re-define empty? for errors to check if the values inside the OrderedHash are...Ryan Bigg2010-04-101-0/+5
* errors.rb needs to be declared as UTF-8 [#3941 state:resolved]Aaron Patterson2010-04-021-0/+2
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+1
* Use Array.wrap uniformlyJeremy Kemper2010-03-271-1/+2
* Full update on ActiveModel documentationMikel Lindsaar2010-02-011-0/+107
* Drop AR I18n deprecation and simple use errors.messages as fallback.José Valim2010-01-301-7/+14
* Adding Proc support to validation messages so that they can become a little m...Samuel Elliott2010-01-171-0/+2
* Errors messages are now moved from :activerecord.errors to simply :errors on ...José Valim2010-01-071-3/+2
* Use activerecord.errors.format as in Rails 2.3.5.José Valim2010-01-021-3/+3
* Be sure to convert namespaced names to we have 'Parrots name' instead of 'Par...José Valim2010-01-021-2/+3
* Move validator, human_name and human_attribute_name to ActiveModel, remove de...José Valim2009-10-201-10/+9
* Fix typo.Brian Donovan2009-09-171-1/+1
* Ensure validation errors to be ordered in declared orderAkira Matsuda2009-09-111-1/+2
* Use send instead of instance_evalPratik Naik2009-08-061-3/+3
* Allow validations to use values from custom readers [#2936 state:resolved]James Hill2009-08-051-3/+3
* Simplify AMo validation attribute readerJoshua Peek2009-06-171-3/+3
* each yields per message not per attributeJeremy Kemper2009-06-081-0/+1
* Properly require ActiveModel validation dependenciesJoshua Peek2009-06-081-7/+9
* Merge branch 'master' into active_modelJoshua Peek2009-05-291-1/+2
|\
* | Add I18n translations to ActiveModel and move more AR specific parts to Activ...Pratik Naik2009-03-201-34/+22
* | Make Active Resource use ActiveModel::ErrorsPratik Naik2009-03-191-1/+6