Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove ActiveRecord::Model | Jon Leighton | 2012-10-26 | 1 | -133/+0 |
| | | | | | | | | | | In the end I think the pain of implementing this seamlessly was not worth the gain provided. The intention was that it would allow plain ruby objects that might not live in your main application to be subclassed and have persistence mixed in. But I've decided that the benefit of doing that is not worth the amount of complexity that the implementation introduced. | ||||
* | Revert "Get rid of the ActiveRecord::Model::DeprecationProxy thing." | Jeremy Kemper | 2012-10-20 | 1 | -0/+36 |
| | | | | This reverts commit 83846838252397b3781eed165ca301e05db39293. | ||||
* | Get rid of the ActiveRecord::Model::DeprecationProxy thing. | Jon Leighton | 2012-10-19 | 1 | -36/+0 |
| | | | | | | | | | | | | | | | | | I think it's going to be too much pain to try to transition the :active_record load hook from executing against Base to executing against Model. For example, after Model is included in Base, and modules included in Model will no longer get added to the ancestors of Base. So plugins which wish to be compatible with both Model and Base should use the :active_record_model load hook which executes *before* Base gets loaded. In general, ActiveRecord::Model is an advanced feature at the moment and probably most people will continue to inherit from ActiveRecord::Base for the time being. | ||||
* | Make ActiveRecord::Model::DeprecationProxy work better | Jon Leighton | 2012-08-03 | 1 | -3/+23 |
| | | | | Closes #6600 | ||||
* | Address test_basic_model test error with Oracle enhanced adapter | Yasuo Honda | 2012-06-27 | 1 | -1/+1 |
| | | | | which ids start from 1000 as a default. | ||||
* | Support establishing connection on ActiveRecord::Model. | Jon Leighton | 2011-12-28 | 1 | -1/+4 |
| | | | | | This is the 'top level' connection, inherited by any models that include ActiveRecord::Model or inherit from ActiveRecord::Base. | ||||
* | Intercept sends in Model::DeprecationProxy | Jon Leighton | 2011-12-24 | 1 | -1/+3 |
| | |||||
* | Add test to ensure AR::Model initialization works correctly | Jon Leighton | 2011-12-24 | 1 | -0/+5 |
| | |||||
* | Add deprecation for the change to the active_record load hook | Jon Leighton | 2011-12-24 | 1 | -0/+14 |
| | |||||
* | Support nested AR::Models | Jon Leighton | 2011-12-24 | 1 | -0/+4 |
| | |||||
* | Don't include anything else if AR::Model has already been included | Jon Leighton | 2011-12-24 | 1 | -0/+5 |
| | |||||
* | Make PredicateBuilder recognise AR::Model | Jon Leighton | 2011-12-24 | 1 | -0/+6 |
| | |||||
* | Fix #exists? for AR::Model | Jon Leighton | 2011-12-24 | 1 | -0/+5 |
| | |||||
* | Make generated_feature_methods work with ActiveRecord::Model | Jon Leighton | 2011-12-24 | 1 | -0/+4 |
| | |||||
* | Fixtures support for ActiveRecord::Model | Jon Leighton | 2011-12-24 | 1 | -0/+12 |
| | |||||
* | Deal with global config better between AR::Base and AR::Model | Jon Leighton | 2011-12-24 | 1 | -0/+9 |
| | |||||
* | Add test for inheritance from a non-AR superclass | Jon Leighton | 2011-12-24 | 1 | -0/+8 |
| | |||||
* | I herd you like modules. | Jon Leighton | 2011-12-24 | 1 | -0/+36 |