Add Model#qualified_pk_hash, for returning a hash with qualified pk keys
authorJeremy Evans <code@jeremyevans.net>
Thu, 9 Oct 2014 16:27:53 +0000 (09:27 -0700)
committerJeremy Evans <code@jeremyevans.net>
Thu, 9 Oct 2014 16:27:53 +0000 (09:27 -0700)
commita62f4813ff3bd642dcbbfa3dd210d4dc6423b20c
tree180003c3c961afdace6f52e635667bdcf91e1cf0
parent7d9c3d42b1260ab78bae65e93f3e270cf7a4da8d
Add Model#qualified_pk_hash, for returning a hash with qualified pk keys

Now that we have 3 separate internal users of such a method, it
seems worthwhile to add it, as opposed to calling
model.qualified_primary_key_hash directly.
CHANGELOG
lib/sequel/model/base.rb
lib/sequel/plugins/lazy_attributes.rb
lib/sequel/plugins/validation_helpers.rb
spec/model/record_spec.rb