aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/assets
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2014-12-30 12:36:37 -0500
committerArthur Neves <arthurnn@gmail.com>2014-12-30 12:36:37 -0500
commit5acd24bbeae0e9e5e81e87b5929e17f35527b2ea (patch)
tree2c9612fb542c1a96f94f39cdd7362e27ab6cbdb4 /activerecord/test/assets
parent20ea1a2adf85ef33496fda879e565f7ee72456e9 (diff)
downloadrails-5acd24bbeae0e9e5e81e87b5929e17f35527b2ea.tar.gz
rails-5acd24bbeae0e9e5e81e87b5929e17f35527b2ea.tar.bz2
rails-5acd24bbeae0e9e5e81e87b5929e17f35527b2ea.zip
Ensures that primary_key method will return nil when multi-pk
When table has a composite primary key, the `primary_key` method for sqlite3 and postgresql was only returning the first field of the key. Ensures that it will return nil instead, as AR dont support composite pks.
Diffstat (limited to 'activerecord/test/assets')
0 files changed, 0 insertions, 0 deletions