aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
Commit message (Collapse)AuthorAgeFilesLines
...
* | Deprecate Model#validate/validate_on_create/validate_on_update. Use ↵Pratik Naik2009-03-212-12/+7
| | | | | | | | Model.validate :method and likewise
* | Deprecate Errors#on_base/add_to_base/invalid?/each_fullPratik Naik2009-03-213-14/+26
| |
* | Get rid of active_model/core and active_model/callbacksPratik Naik2009-03-214-17/+0
| |
* | Validation options dont need explicit :on => :savePratik Naik2009-03-211-1/+1
| |
* | Remove DEFAULT_VALIDATION_OPTIONS from validationsPratik Naik2009-03-212-5/+1
| |
* | Move validate_on_create and validate_on_update from ActiveModel to ActiveRecordPratik Naik2009-03-217-16/+8
| |
* | Add ActiveModel::Validations tests for regular ruby classesPratik Naik2009-03-2011-34/+160
| |
* | Add I18n translations to ActiveModel and move more AR specific parts to ↵Pratik Naik2009-03-2010-491/+408
| | | | | | | | ActiveRecord::Validations
* | Improve the deprecation message for Errors#onPratik Naik2009-03-201-2/+2
| |
* | Validation tests arent using any fixturesPratik Naik2009-03-201-2/+0
| |
* | ActiveModel.load_all! isn't really needed at this pointPratik Naik2009-03-201-4/+0
| |
* | Use mattr_accessor in TestsDatabase instead of setup methodPratik Naik2009-03-201-13/+23
| |
* | Deprecate Error#on(attribute) in favour of Errors#[attribute]Pratik Naik2009-03-208-70/+94
| |
* | TestDatabase -> TestsDatabasePratik Naik2009-03-2012-22/+22
| |
* | Remove unused columns from the ActiveModel test schemaPratik Naik2009-03-201-9/+0
| |
* | Future deprecation messagePratik Naik2009-03-201-1/+5
| |
* | Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-2018-17/+2162
| |
* | Add test sqlite3 db to .gitignorePratik Naik2009-03-202-4/+1
| |
* | Make Active Model test suite similar to Active RecordPratik Naik2009-03-2016-29/+169
| |
* | Autload ActiveModel::ObservingPratik Naik2009-03-201-0/+1
| |
* | Make Active Resource use ActiveModel::ErrorsPratik Naik2009-03-191-1/+6
| |
* | Move uniqueness and association validations to Active RecordPratik Naik2009-03-192-206/+0
| |
* | Move all the Active Record validations to Active ModelPratik Naik2009-03-1914-214/+408
|/
* Merge docrailsPratik Naik2009-03-161-1/+1
|
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-1/+1
| | | | [#1617 state:resolved]
* Merge with docrailsPratik Naik2008-12-071-0/+2
|
* Explicitly require Active Support for testsJeremy Kemper2008-11-241-0/+3
|
* Require Mocha >= 0.9.3 which includes a MiniTest adapterJeremy Kemper2008-11-231-1/+1
|
* Extract state query method definition and quiet method redefinition warning.Jeremy Kemper2008-11-222-5/+8
|
* MiniTest compat: don't shadow @nameJeremy Kemper2008-11-222-5/+5
|
* Require mocha for tests. Get rid of uses_mocha helper.Jeremy Kemper2008-11-195-189/+167
|
* Require mocha before the testcase overrides, otherwise its run method is ↵Jeremy Kemper2008-11-191-18/+6
| | | | clobbered
* Eliminate method redefinition warningJeremy Kemper2008-11-191-1/+2
|
* Lazy-require state machine internals when the module is includedJeremy Kemper2008-11-153-7/+8
|
* Use the Ruby load path for test_helper requires. Fix AM::TestCase.Jeremy Kemper2008-11-157-21/+12
|
* Merge docrailsPratik Naik2008-09-031-2/+2
|
* Some performance goodness for AM Validations.Clemens Kofler2008-09-031-2/+2
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Some performance goodness for AM StateMatchine.Clemens Kofler2008-09-031-3/+3
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* More symbols for send and respond_to?.Clemens Kofler2008-09-032-2/+2
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵Jeremy Kemper2008-08-311-1/+1
| | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb
* Fix file permissionsTarmo Tänav2008-07-311-0/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Merge branch 'state_machine'rick2008-06-2921-167/+1073
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Some big changes: * Added some redundant requires so active_support/inflecto can be loaded without the rest of ActiveSupport. * Disabled callbacks and validations until they are added and tested. * Converted specs back to tests, using ActiveSupport::TestCase and the new #test helper. * As an experiment, I imported Scott Barron's awesome AASM gem into ActiveModel. I added multiple state machine support and vastly improved the API (no more aasm_* prefixes). All the old tests pass. If this bothers people, I have no problems removing this and contributing the changes back to AASM. I just feel like AMo is a better spot for all these 'modelish' features.
| * all aasm tests without activerecord moved over and passingrick2008-06-285-59/+76
| |
| * converted tests for more complex state transitionsrick2008-06-285-123/+142
| |
| * add basic events and transitions. still more tests to convertrick2008-06-2810-108/+395
| |
| * initial statemachine machine and state classesrick2008-06-2810-6/+571
| |
| * tweak activemodel load order a bitrick2008-06-277-30/+39
| |
| * convert specs to testsrick2008-06-274-137/+146
| |
* | Horo rdoc templateJeremy Kemper2008-06-221-2/+2
|/
* Add rdoc task to activemodel. [#156 state:resolved]Jake Howerton2008-05-161-1/+13
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>