aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/lib/active_resource/validations.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix punctuation errors.Sebastian Martinez2011-05-011-5/+5
|
* PERF: more changes from inject({}) to Hash + mapSantiago Pastorino2010-10-031-1/+1
|
* Remove all deprecation warnings in activeresourceCarlos Antonio da Silva2010-09-061-10/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-8/+8
| | | | 's/[ \t]*$//' -i {} \;)
* Make sure ActiveResource::Errors#from_json doesn't pass nil to #from_array ↵David Trasbo2010-06-261-1/+1
| | | | | | [#3650 state:commited] Signed-off-by: José Valim <jose.valim@gmail.com>
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+1
|
* Use format of ARes rather than content-type of remote errors to load errors.Jatinder Singh2010-01-271-3/+3
| | | | | | [#1956 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* save(false) is gone, use save(:validate => false) instead.José Valim2010-01-171-3/+12
|
* Fix brittle content-type check. [#1956 state:committed]Jeremy Kemper2009-09-171-2/+2
|
* Added validations to ActiveResource. Added a smoke test to see if we can add ↵taryn2009-08-191-15/+49
| | | | | | a validation and use it, and add a validates callback and use it. Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Add support for errors in JSON format.Fabien Jakimowicz2009-08-091-4/+20
| | | | | | [#1956 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Make use of AS::Concern in ActiveResourceJoshua Peek2009-06-081-4/+4
|
* Setup ActiveResource autoloadsJoshua Peek2009-06-081-5/+0
|
* Merge branch 'master' into active_modelJoshua Peek2009-05-291-0/+7
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: activemodel/lib/active_model/core.rb activemodel/test/cases/state_machine/event_test.rb activemodel/test/cases/state_machine/state_transition_test.rb activerecord/lib/active_record/validations.rb activerecord/test/cases/validations/i18n_validation_test.rb activeresource/lib/active_resource.rb activeresource/test/abstract_unit.rb
| * Cherry pick Active Support dependencies. Autoload.Jeremy Kemper2009-05-061-0/+7
| |
| * Merge docrailsPratik Naik2009-03-241-8/+9
| |
* | Deprecate Errors#on_base/add_to_base/invalid?/each_fullPratik Naik2009-03-211-1/+1
| |
* | Fix ActiveResource::Errors deprecation messagesPratik Naik2009-03-201-2/+2
| |
* | Make Active Resource use ActiveModel::ErrorsPratik Naik2009-03-191-195/+1
|/
* Handle either error string or arrayJeremy Kemper2009-02-061-1/+1
|
* Merge docrailsPratik Naik2008-09-031-29/+15
|
* Merge docrails.Pratik Naik2008-05-251-2/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Big documentation upgrade for ARes (closes #8694) [jeremymcanally]David Heinemeier Hansson2007-06-231-8/+135
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mega documentation patches. #7025, #7069 [rwdaigle]Rick Olson2007-01-161-1/+35
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5962 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Validating save returns boolean; update and create return responses.Jeremy Kemper2006-12-291-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make #save behavior mimic AR::Base#save (true on success, false on failure)Jamis Buck2006-10-021-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hash.create_from_xml has been renamed to Hash.from_xml, alias will exist ↵David Heinemeier Hansson2006-09-201-1/+1
| | | | | | until Rails 2.0 [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Basic validation support [Rick Olson]Rick Olson2006-09-081-0/+125
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de