lib/bigamy.rb in bigamy-0.2.0 vs lib/bigamy.rb in bigamy-0.2.1

- old
+ new

@@ -123,9 +123,13 @@ end def import_id_val i BSON::ObjectID.from_string(i) end + + def reset_current_relationships f_key, f_id + collection.update({f_key => f_id}, {f_key => nil}, :multi => true, :upsert => false) + end end end end