aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* 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-092-7/+7
* Allow validates to map some types to specific options. So now you can do:José Valim2010-01-082-12/+38
* 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-072-3/+42
* Add validates method as shortcut to setup validators for a given set of attri...jamie2010-01-075-2/+92
* 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