aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/crud.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-11-26 15:00:05 -0700
committerSean Griffin <sean@thoughtbot.com>2014-11-26 15:00:05 -0700
commitec083687a96af1f35f9fb9e75611cc4bf4f5bf81 (patch)
tree627cd232a28f06e795a5ab7d732b02b878803104 /lib/arel/crud.rb
parentb40dfdde690ea32d658393e9e81c6ad36d23891f (diff)
downloadrails-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 'lib/arel/crud.rb')
0 files changed, 0 insertions, 0 deletions