lib/zermelo/associations/index.rb in zermelo-1.4.1 vs lib/zermelo/associations/index.rb in zermelo-1.4.2

- old
+ new

@@ -44,8 +44,18 @@ :type => :set, :object => :index ) end + def key_dump + k = Zermelo::Records::Key.new( + :klass => @parent_klass, + :name => "by_#{@attribute_name}:*", + :type => :set, + :object => :index + ) + [@backend.key_to_backend_key(k), k] + end + end end end \ No newline at end of file