Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Deprecate Model#validate/validate_on_create/validate_on_update. Use ↵ | Pratik Naik | 2009-03-21 | 2 | -12/+7 | |
| | | | | | | | | Model.validate :method and likewise | |||||
* | | Deprecate Errors#on_base/add_to_base/invalid?/each_full | Pratik Naik | 2009-03-21 | 3 | -14/+26 | |
| | | ||||||
* | | Get rid of active_model/core and active_model/callbacks | Pratik Naik | 2009-03-21 | 4 | -17/+0 | |
| | | ||||||
* | | Validation options dont need explicit :on => :save | Pratik Naik | 2009-03-21 | 1 | -1/+1 | |
| | | ||||||
* | | Remove DEFAULT_VALIDATION_OPTIONS from validations | Pratik Naik | 2009-03-21 | 2 | -5/+1 | |
| | | ||||||
* | | Move validate_on_create and validate_on_update from ActiveModel to ActiveRecord | Pratik Naik | 2009-03-21 | 7 | -16/+8 | |
| | | ||||||
* | | 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 | 10 | -491/+408 | |
| | | | | | | | | ActiveRecord::Validations | |||||
* | | Improve the deprecation message for Errors#on | Pratik Naik | 2009-03-20 | 1 | -2/+2 | |
| | | ||||||
* | | Validation tests arent using any fixtures | Pratik Naik | 2009-03-20 | 1 | -2/+0 | |
| | | ||||||
* | | ActiveModel.load_all! isn't really needed at this point | Pratik Naik | 2009-03-20 | 1 | -4/+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 | 8 | -70/+94 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | Future deprecation message | Pratik Naik | 2009-03-20 | 1 | -1/+5 | |
| | | ||||||
* | | Move relevant validation tests from Active Record to Active Model | Pratik Naik | 2009-03-20 | 18 | -17/+2162 | |
| | | ||||||
* | | 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 | 16 | -29/+169 | |
| | | ||||||
* | | Autload ActiveModel::Observing | Pratik Naik | 2009-03-20 | 1 | -0/+1 | |
| | | ||||||
* | | Make Active Resource use ActiveModel::Errors | Pratik Naik | 2009-03-19 | 1 | -1/+6 | |
| | | ||||||
* | | Move uniqueness and association validations to Active Record | Pratik Naik | 2009-03-19 | 2 | -206/+0 | |
| | | ||||||
* | | Move all the Active Record validations to Active Model | Pratik Naik | 2009-03-19 | 14 | -214/+408 | |
|/ | ||||||
* | Merge docrails | Pratik Naik | 2009-03-16 | 1 | -1/+1 | |
| | ||||||
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 1 | -1/+1 | |
| | | | | [#1617 state:resolved] | |||||
* | Merge with docrails | Pratik Naik | 2008-12-07 | 1 | -0/+2 | |
| | ||||||
* | 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 | |
| | ||||||
* | Extract state query method definition and quiet method redefinition warning. | Jeremy Kemper | 2008-11-22 | 2 | -5/+8 | |
| | ||||||
* | 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 | |||||
* | Eliminate method redefinition warning | Jeremy Kemper | 2008-11-19 | 1 | -1/+2 | |
| | ||||||
* | Lazy-require state machine internals when the module is included | Jeremy Kemper | 2008-11-15 | 3 | -7/+8 | |
| | ||||||
* | Use the Ruby load path for test_helper requires. Fix AM::TestCase. | Jeremy Kemper | 2008-11-15 | 7 | -21/+12 | |
| | ||||||
* | Merge docrails | Pratik Naik | 2008-09-03 | 1 | -2/+2 | |
| | ||||||
* | Some performance goodness for AM Validations. | Clemens Kofler | 2008-09-03 | 1 | -2/+2 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Some performance goodness for AM StateMatchine. | Clemens Kofler | 2008-09-03 | 1 | -3/+3 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | More symbols for send and respond_to?. | Clemens Kofler | 2008-09-03 | 2 | -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 Kemper | 2008-08-31 | 1 | -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 permissions | Tarmo Tänav | 2008-07-31 | 1 | -0/+0 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Merge branch 'state_machine' | rick | 2008-06-29 | 21 | -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 passing | rick | 2008-06-28 | 5 | -59/+76 | |
| | | ||||||
| * | converted tests for more complex state transitions | rick | 2008-06-28 | 5 | -123/+142 | |
| | | ||||||
| * | add basic events and transitions. still more tests to convert | rick | 2008-06-28 | 10 | -108/+395 | |
| | | ||||||
| * | initial statemachine machine and state classes | rick | 2008-06-28 | 10 | -6/+571 | |
| | | ||||||
| * | tweak activemodel load order a bit | rick | 2008-06-27 | 7 | -30/+39 | |
| | | ||||||
| * | convert specs to tests | rick | 2008-06-27 | 4 | -137/+146 | |
| | | ||||||
* | | Horo rdoc template | Jeremy Kemper | 2008-06-22 | 1 | -2/+2 | |
|/ | ||||||
* | Add rdoc task to activemodel. [#156 state:resolved] | Jake Howerton | 2008-05-16 | 1 | -1/+13 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> |