Permalink
Browse files

Make identity map plugin work with many-to-many right-side composite …

…primary keys.
  • Loading branch information...
chanks committed Jan 17, 2013
1 parent 2c358c5 commit 4d01c396d725c7101bf5c2157a6acef6dd2f73e0
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/sequel/plugins/identity_map.rb
@@ -52,6 +52,7 @@ def associate(type, name, opts = {}, &block)
uses_lcks = opts[:uses_left_composite_keys]
uses_rcks = opts[:uses_right_composite_keys]
right = opts[:right_key]
+ rcks = opts[:right_keys]
join_table = opts[:join_table]
left = opts[:left_key]
lcks = opts[:left_keys]

0 comments on commit 4d01c39

Please sign in to comment.