lib/bullet.rb in bullet-7.0.2 vs lib/bullet.rb in bullet-7.0.3

- old
+ new

@@ -107,10 +107,10 @@ @safelist[options[:type]][options[:class_name]].delete(options[:association].to_sym) @safelist[options[:type]].delete_if { |_key, val| val.empty? } end def get_safelist_associations(type, class_name) - Array(@safelist[type][class_name]) + Array.wrap(@safelist[type][class_name]) end def reset_safelist @safelist ||= { n_plus_one_query: {}, unused_eager_loading: {}, counter_cache: {} } end