diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-11-26 15:00:05 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-11-26 15:00:05 -0700 |
commit | ec083687a96af1f35f9fb9e75611cc4bf4f5bf81 (patch) | |
tree | 627cd232a28f06e795a5ab7d732b02b878803104 /test/visitors/test_dot.rb | |
parent | b40dfdde690ea32d658393e9e81c6ad36d23891f (diff) | |
download | rails-ec083687a96af1f35f9fb9e75611cc4bf4f5bf81.tar.gz rails-ec083687a96af1f35f9fb9e75611cc4bf4f5bf81.tar.bz2 rails-ec083687a96af1f35f9fb9e75611cc4bf4f5bf81.zip |
Remove deprecated method "Table#primary_key"
The only place this method was still used is on the MSSQL visitor. The
visitor has all of the objects required to inline this lookup there.
Since the `primary_key` method on the connection adapter will perform a
query when called, we can cache the result on the visitor.
Diffstat (limited to 'test/visitors/test_dot.rb')
0 files changed, 0 insertions, 0 deletions