diff options
author | Arthur Neves <arthurnn@gmail.com> | 2013-12-19 16:51:28 -0500 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2013-12-19 16:51:28 -0500 |
commit | 4a720a2cdefc1926e0bfa23b8febd71869093c59 (patch) | |
tree | e6635d07544afff9e3fd3353003fbc562d3c6ae4 /activerecord/lib/active_record/connection_adapters/mysql_adapter.rb | |
parent | e4cde5d58cbb09d1843796f96ba86225ff94fe05 (diff) | |
download | rails-4a720a2cdefc1926e0bfa23b8febd71869093c59.tar.gz rails-4a720a2cdefc1926e0bfa23b8febd71869093c59.tar.bz2 rails-4a720a2cdefc1926e0bfa23b8febd71869093c59.zip |
quoting: Check if id is a valid method before using it
Need to check if valud also respond_to :id before calling it, otherwise
things could explode.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/mysql_adapter.rb')
0 files changed, 0 insertions, 0 deletions