aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases
Commit message (Expand)AuthorAgeFilesLines
* 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
* No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.res...José Valim2009-12-2312-201/+119
* Small clean up in Naming and TTranslation tests.José Valim2009-12-232-22/+17
* Move validations in ActiveModel to validators, however all validatity checks ...José Valim2009-12-231-2/+2
* Validator is simply sent to validate method. However, the API needs to change...José Valim2009-12-221-6/+6
* Fully expand relative rails framework paths and make sure we aren'tJoshua Peek2009-12-161-4/+2
* Reorganize autoloads:Carlhuda2009-12-022-0/+2
* Avoid adding component lib/ to load path multiple timesJoshua Peek2009-11-091-1/+3
* Move validator, human_name and human_attribute_name to ActiveModel, remove de...José Valim2009-10-205-6/+64
* Have all the tests running off a single GemfileYehuda Katz + Carl Lerche2009-10-201-7/+6
* Bundle AMoYehuda Katz2009-10-151-2/+7
* Rewrite ActiveModel::Lint as a simple TU mixinJoshua Peek2009-10-071-32/+8
* Fixed behavior of attribute_methods_generated? [#3220 state:resolved]Sam Pohlenz2009-10-071-0/+26
* Don't share attribute matchers between classes [#3216 state:resolved]Sam Pohlenz2009-10-071-0/+20
* Use ActiveModel::TestCase base classJeremy Kemper2009-09-243-4/+4