Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow validations to use values from custom readers [#2936 state:resolved] | James Hill | 2009-08-05 | 3 | -0/+45 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Dasherize XML root by default to avoid invalid tags ↵ | Joshua Peek | 2009-07-22 | 2 | -0/+15 |
| | | | | "<admin/posts>...</admin/posts>" [#2875 state:resolved] | ||||
* | Patch to ActiveModel's (and ActiveRecord, by association) XML serialization: ↵ | John Maxwell | 2009-07-22 | 1 | -0/+12 |
| | | | | | | If two parameters are present in Procs supplied to to_xml's :procs option, the model being serialized will be passed as the second argument [#2373 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Kill AMo Base | Joshua Peek | 2009-07-21 | 1 | -2/+5 |
| | |||||
* | Kill AMo ivar attributes helper | Joshua Peek | 2009-07-20 | 3 | -30/+8 |
| | |||||
* | Initial extraction of AMo xml serializer | Joshua Peek | 2009-07-03 | 3 | -5/+103 |
| | |||||
* | Ensure JSON serializer includes model naming | Joshua Peek | 2009-07-03 | 1 | -1/+0 |
| | |||||
* | Move mocha down below initial T::U require and bump version to 0.9.7 [#2858 ↵ | Yehuda Katz + Carl Lerche | 2009-07-01 | 1 | -2/+0 |
| | | | | state:resolved] | ||||
* | Add basic JSON serializer to AMo | Joshua Peek | 2009-06-17 | 1 | -0/+64 |
| | |||||
* | Add simple attribute implementation backed by ivars | Joshua Peek | 2009-06-17 | 1 | -0/+30 |
| | |||||
* | Simplify AMo validation attribute reader | Joshua Peek | 2009-06-17 | 1 | -9/+9 |
| | |||||
* | Move model naming into ActiveModel | Joshua Peek | 2009-06-17 | 1 | -0/+27 |
| | |||||
* | Integrate ActiveModel::Observing into ActiveRecord | Joshua Peek | 2009-06-10 | 1 | -12/+20 |
| | |||||
* | Merge branch 'master' into active_model | Joshua Peek | 2009-05-29 | 1 | -20/+8 |
|\ | | | | | | | | | | | | | | | | | | | | | 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 core extensions | Jeremy Kemper | 2009-05-13 | 2 | -0/+2 |
| | | |||||
* | | Deprecate Model#validate/validate_on_create/validate_on_update. Use ↵ | Pratik Naik | 2009-03-21 | 1 | -3/+7 |
| | | | | | | | | Model.validate :method and likewise | ||||
* | | Deprecate Errors#on_base/add_to_base/invalid?/each_full | Pratik Naik | 2009-03-21 | 2 | -9/+21 |
| | | |||||
* | | Add ActiveModel::Validations tests for regular ruby classes | Pratik Naik | 2009-03-20 | 11 | -34/+160 |
| | | |||||
* | | Add I18n translations to ActiveModel and move more AR specific parts to ↵ | Pratik Naik | 2009-03-20 | 4 | -404/+325 |
| | | | | | | | | ActiveRecord::Validations | ||||
* | | Validation tests arent using any fixtures | Pratik Naik | 2009-03-20 | 1 | -2/+0 |
| | | |||||
* | | Use mattr_accessor in TestsDatabase instead of setup method | Pratik Naik | 2009-03-20 | 1 | -13/+23 |
| | | |||||
* | | Deprecate Error#on(attribute) in favour of Errors#[attribute] | Pratik Naik | 2009-03-20 | 7 | -66/+90 |
| | | |||||
* | | TestDatabase -> TestsDatabase | Pratik Naik | 2009-03-20 | 12 | -22/+22 |
| | | |||||
* | | Remove unused columns from the ActiveModel test schema | Pratik Naik | 2009-03-20 | 1 | -9/+0 |
| | | |||||
* | | Move relevant validation tests from Active Record to Active Model | Pratik Naik | 2009-03-20 | 17 | -16/+2150 |
| | | |||||
* | | Add test sqlite3 db to .gitignore | Pratik Naik | 2009-03-20 | 2 | -4/+1 |
| | | |||||
* | | Make Active Model test suite similar to Active Record | Pratik Naik | 2009-03-20 | 12 | -27/+110 |
|/ | |||||
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 1 | -1/+1 |
| | | | | [#1617 state:resolved] | ||||
* | Explicitly require Active Support for tests | Jeremy Kemper | 2008-11-24 | 1 | -0/+3 |
| | |||||
* | Require Mocha >= 0.9.3 which includes a MiniTest adapter | Jeremy Kemper | 2008-11-23 | 1 | -1/+1 |
| | |||||
* | MiniTest compat: don't shadow @name | Jeremy Kemper | 2008-11-22 | 2 | -5/+5 |
| | |||||
* | Require mocha for tests. Get rid of uses_mocha helper. | Jeremy Kemper | 2008-11-19 | 5 | -189/+167 |
| | |||||
* | Require mocha before the testcase overrides, otherwise its run method is ↵ | Jeremy Kemper | 2008-11-19 | 1 | -18/+6 |
| | | | | clobbered | ||||
* | Use the Ruby load path for test_helper requires. Fix AM::TestCase. | Jeremy Kemper | 2008-11-15 | 7 | -21/+12 |
| | |||||
* | all aasm tests without activerecord moved over and passing | rick | 2008-06-28 | 2 | -51/+50 |
| | |||||
* | converted tests for more complex state transitions | rick | 2008-06-28 | 3 | -115/+117 |
| | |||||
* | add basic events and transitions. still more tests to convert | rick | 2008-06-28 | 5 | -90/+233 |
| | |||||
* | initial statemachine machine and state classes | rick | 2008-06-28 | 5 | -4/+456 |
| | |||||
* | convert specs to tests | rick | 2008-06-27 | 2 | -0/+146 |