Sha256: abb0fff00269b43cc7d9cefc989d5f261dd8259b6b46677298c88327eece576c

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

module ActiveRecord::CallbackExt
  extend ActiveSupport::Concern

  included do
    ActiveRecord::Callbacks::CALLBACKS.each do |callyak|
      self.define_singleton_method callyak do |*args, &block|
        raise "❨╯°□°❩╯︵sʞɔɐqllɐɔ"
      end
    end
  end
end

ActiveRecord::Base.send :include, ActiveRecord::CallbackExt

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
moms_spaghetti-1.0.0 lib/moms_spaghetti/extensions/active_record/callback_ext.rb