aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
Commit message (Expand)AuthorAgeFilesLines
* Reuse already existing classes for ActiveModel tests.José Valim2010-07-214-63/+44
* Moved a few methods from RecordIdentifier to ActiveModel::NamingPiotr Sarnacki2010-07-211-0/+63
* Avoid interpreted as grouped expression warningsSantiago Pastorino2010-07-112-4/+4
* mass_assignment_security moved from AR to AMo, and minor test cleanupJosh Kalderimis2010-07-086-0/+232
* Missing BigDecimal dependencyJeremy Kemper2010-06-271-0/+2
* Work around the fact the JSON gem was overwriting to_json implementation for ...José Valim2010-06-262-7/+16
* Regression with how base errors messages are added to a model. Works correctl...Josh Kalderimis2010-06-231-3/+18
* should be able to run ActiveModel validations_test [#4933 state:resolved]Neeraj Singh2010-06-221-0/+1
* Avoid method redefined warningSantiago Pastorino2010-06-221-1/+2
* Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options has...Jeroen van Dijk2010-06-212-379/+210
* ActiveModel::Validations::Callbacks should not be required by default.José Valim2010-06-191-0/+1
* moving before_validation and after_validation functionality from ActiveRecord...Neeraj Singh2010-06-191-0/+76
* Really make include_root_in_json default to true [#3770 state:resolved]José Valim2010-06-081-15/+21
* Fix xml serialization test [#4650 state:resolved]Anil Wadghule2010-05-191-2/+5
* Use better assertion methods for testingNeeraj Singh2010-05-194-5/+5
* Add a valid hex that shouldn't be valid to ActiveModel numericality tests [#4...rohit2010-05-181-1/+1
* Valid hex strings aren't valid float column values, to match the integer rest...Jeremy Kemper2010-05-171-1/+1
* Make use of assert_equal to test equallity between object assert expects and ...Santiago Pastorino2010-05-162-3/+3
* 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-132-0/+25
* 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-0918-128/+12
* removed an old unused model in the AMo tests which also removes another AR de...Josh Kalderimis2010-05-099-14/+0
* removed use of AR in AMo tests and removed testing of scopes (:on) in individ...Josh Kalderimis2010-05-0814-289/+240
* 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-302-0/+16
* 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
* Fix AMo isolated tests.José Valim2010-02-221-1/+1
* 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-213-7/+6
* Add to_key and to_param methods to ActiveModel::Conversion.José Valim2010-02-213-16/+34
* 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