diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-11-26 13:22:11 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-11-29 15:49:18 -0700 |
commit | de239066e32d654f6815a94cdf8ce4b67b058726 (patch) | |
tree | 825d046317dad1cda8f2b4449a2ff7dbe15cc5ef /activerecord/test/models/admin.rb | |
parent | 5493d16d9e2fbc8efb0535c7a704a83d460a1beb (diff) | |
download | rails-de239066e32d654f6815a94cdf8ce4b67b058726.tar.gz rails-de239066e32d654f6815a94cdf8ce4b67b058726.tar.bz2 rails-de239066e32d654f6815a94cdf8ce4b67b058726.zip |
Stop using `Arel::Table.engine`
We never actually make use of it on the table, since we're constructing
the select manager manually. It looks like if we ever actually were
grabbing it from the table, we're grossly misusing it since it's meant
to vary by AR class.
Its existence on `Arel::Table` appears to be purely for convenience
methods that are never used outside of tests. However, in production
code it just complicates construction of the tables on the rails side,
and the plan is to remove it from `Arel::Table` entirely. I'm not
convinced it needs to live on `SelectManager`, etc either.
Diffstat (limited to 'activerecord/test/models/admin.rb')
0 files changed, 0 insertions, 0 deletions