diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-10 17:24:10 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-10 17:24:10 -0700 |
commit | dbc8c0ee36ddda7c27a375c78bbdb989fd30c298 (patch) | |
tree | 04e54b068e065c39cb6de472606675341b53d545 /activerecord/lib/active_record.rb | |
parent | 249fd686fb86c89463d791f44114fd829cb05bd2 (diff) | |
download | rails-dbc8c0ee36ddda7c27a375c78bbdb989fd30c298.tar.gz rails-dbc8c0ee36ddda7c27a375c78bbdb989fd30c298.tar.bz2 rails-dbc8c0ee36ddda7c27a375c78bbdb989fd30c298.zip |
decouple the factory method from the constructing model
The factory method only requires the constructing model to get the
connection object. Since the model is available when calling the factory
method, we can just pass the appropriate connection in.
Diffstat (limited to 'activerecord/lib/active_record.rb')
0 files changed, 0 insertions, 0 deletions