1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

14 commits

Author SHA1 Message Date
Yasuo Honda
23859d0801 Address test_basic_model test error with Oracle enhanced adapter
which ids start from 1000 as a default.
2012-06-27 23:51:50 +09:00
Jon Leighton
dae7b65453 Support establishing connection on ActiveRecord::Model.
This is the 'top level' connection, inherited by any models that include
ActiveRecord::Model or inherit from ActiveRecord::Base.
2011-12-28 18:27:41 +00:00
Jon Leighton
deb91690ae Intercept sends in Model::DeprecationProxy 2011-12-24 14:48:44 +00:00
Jon Leighton
b236f081eb Add test to ensure AR::Model initialization works correctly 2011-12-24 11:08:16 +00:00
Jon Leighton
800f0a6eb6 Add deprecation for the change to the active_record load hook 2011-12-24 11:08:16 +00:00
Jon Leighton
0e3e34f0eb Support nested AR::Models 2011-12-24 11:08:16 +00:00
Jon Leighton
13945b06cc Don't include anything else if AR::Model has already been included 2011-12-24 11:08:16 +00:00
Jon Leighton
35202aa691 Make PredicateBuilder recognise AR::Model 2011-12-24 11:08:16 +00:00
Jon Leighton
1029c511f1 Fix #exists? for AR::Model 2011-12-24 11:08:16 +00:00
Jon Leighton
95795bcb2f Make generated_feature_methods work with ActiveRecord::Model 2011-12-24 11:08:16 +00:00
Jon Leighton
649869557a Fixtures support for ActiveRecord::Model 2011-12-24 11:08:15 +00:00
Jon Leighton
ba7ec73f6a Deal with global config better between AR::Base and AR::Model 2011-12-24 11:08:15 +00:00
Jon Leighton
8c67e709d0 Add test for inheritance from a non-AR superclass 2011-12-24 11:08:15 +00:00
Jon Leighton
6af7192af5 I herd you like modules. 2011-12-24 11:08:15 +00:00