lib/bullet/association.rb in flyerhzm-bullet-1.5.7 vs lib/bullet/association.rb in flyerhzm-bullet-1.5.8
- old
+ new
@@ -36,10 +36,10 @@
unused_preload_associations[klazz] ||= []
unused_preload_associations[klazz] << associations
unique(unused_preload_associations[klazz])
end
- def add_association(object, associations)
+ def add_object_associations(object, associations)
object_associations[object] ||= []
object_associations[object] << associations
unique(object_associations[object])
end