aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Revert "Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an opt...José Valim2010-05-152-73/+73
* Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options has...Jeroen van Dijk2010-05-152-73/+73
* validation macros can now be used within an instanceJosh Kalderimis2010-05-131-0/+13
* Revert "Refactor of active_model/naming.rb and allow collection and element t...Santiago Pastorino2010-05-121-30/+0
* Make ActiveResource serialize XML correctly when element_name is set.Santiago Pastorino2010-05-121-2/+2
* Refactor of active_model/naming.rb and allow collection and element to be wri...Santiago Pastorino2010-05-121-0/+30
* removed AR from all AMo tests, including any unneeded files (schema, fixtures...Josh Kalderimis2010-05-0916-73/+12
* removed an old unused model in the AMo tests which also removes another AR de...Josh Kalderimis2010-05-098-8/+0
* removed use of AR in AMo tests and removed testing of scopes (:on) in individ...Josh Kalderimis2010-05-0812-279/+222
* Active Model JSON serializer now supports custom root optionJatinder Singh2010-05-041-0/+16
* Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax fo...Lawrence Pit2010-05-038-37/+37
* test cases for record.to_xml [#458 state:resolved]Neeraj Singh2010-04-301-0/+8
* array.to_xml should be able to handle all types of data elements [#4490 state...Neeraj Singh2010-04-291-2/+5
* Fix validates_numericaly_of only integer error message [#4406 state:resolved]reu2010-04-251-9/+9
* Fix Active Model observer testsJeremy Kemper2010-04-161-2/+0
* Re-define empty? for errors to check if the values inside the OrderedHash are...Ryan Bigg2010-04-101-0/+6
* errors.rb needs to be declared as UTF-8 [#3941 state:resolved]Aaron Patterson2010-04-021-0/+10
* Restore changed_attributes method in ActiveModel::Dirty and loosen expectatio...Sam Pohlenz2010-04-011-1/+0
* Fix tests added in previous commit.José Valim2010-03-271-0/+1
* ActiveModel::Dirty#changes should return a HashWithIndifferentAccess [#4157 s...Jacob Atzen2010-03-271-0/+29
* ensure activemodel lib is setup correctlyJoshua Peek2010-02-281-0/+3
* Accept array of attributes as arg also, like 2.3Jeremy Kemper2010-02-251-10/+16
* Revert "Fix test load paths for those not using bundler"Carlhuda2010-02-232-9/+2
* Add validators reflection so you can do 'Person.validators' and 'Person.valid...Prem Sichanugrist2010-02-212-0/+28
* Require persisted? in ActiveModel::Lint and remove new_record? and destroyed?...José Valim2010-02-212-4/+3
* Add to_key and to_param methods to ActiveModel::Conversion.José Valim2010-02-212-15/+27
* AMo #key is now #to_key and CI is probably happysnusnu2010-02-201-3/+5
* Adds #key and #to_param to the AMo interfacesnusnu2010-02-191-0/+8
* Fix test load paths for those not using bundlerJoshua Peek2010-02-152-2/+9
* Get rails tests running on bundler 0.9Carl Lerche2010-01-311-7/+1
* Axe AM state machineJoshua Peek2010-01-305-560/+0
* Drop AR I18n deprecation and simple use errors.messages as fallback.José Valim2010-01-301-14/+14
* Adding Proc support to validation messages so that they can become a little m...Samuel Elliott2010-01-171-0/+8
* Fix typos and add tests to ensure they will be caught the next time.José Valim2010-01-111-0/+8
* Fix typo by renaming :genre to :gender.José Valim2010-01-091-6/+6
* Allow validates to map some types to specific options. So now you can do:José Valim2010-01-081-11/+37
* Compile length validator options still at the class level, so whenever the va...José Valim2010-01-081-4/+2
* Allow :if, :unless, :on, :allow_nil and :allow_blank as shared options in val...José Valim2010-01-071-3/+38
* Add validates method as shortcut to setup validators for a given set of attri...jamie2010-01-072-0/+75
* Allow to specify default attributes names translation in I18n yml files.José Valim2010-01-071-0/+5
* Be sure to dup load paths before clearing the array.José Valim2010-01-071-1/+1
* Errors messages are now moved from :activerecord.errors to simply :errors on ...José Valim2010-01-072-80/+44
* Autoload AR test caseJoshua Peek2010-01-041-2/+0
* Autoload AMo test caseJoshua Peek2010-01-041-1/+0
* Add missing tests to Validators.José Valim2010-01-031-0/+47
* Remove deprecated ActiveModel tests (%d and %s is no longer supported in erro...José Valim2010-01-021-14/+0
* Add naming to AMo::LintJosé Valim2010-01-021-0/+2
* Use activerecord.errors.format as in Rails 2.3.5.José Valim2010-01-021-0/+6
* Be sure to convert namespaced names to we have 'Parrots name' instead of 'Par...José Valim2010-01-022-1/+7
* Move ActiveRecord callbacks implementation to ActiveModel and make use of it.José Valim2009-12-281-0/+70