module Bullet::SaveWithBulletSupport

Public Instance Methods

_create_record(*) { |self| ... } click to toggle source
Calls superclass method
# File lib/bullet/active_record5.rb, line 5
def _create_record(*)
  super do
    Bullet::Detector::NPlusOneQuery.add_impossible_object(self)
    yield(self) if block_given?
  end
end