Sha256: 6a5b5dc9e47a92eeb50a1e6c8ef5054544640b7a10588b9b3d700af6306a0d4c

Contents?: true

Size: 358 Bytes

Versions: 5

Compression:

Stored size: 358 Bytes

Contents

require 'active_support'

module Quickery
  module ActiveRecordExtensions
    class << self
      def included(base)
        base.include Quickery::ActiveRecordExtensions::DSL
        base.include Quickery::ActiveRecordExtensions::Callbacks
      end
    end
  end
end

ActiveSupport.on_load(:active_record) do
  include Quickery::ActiveRecordExtensions
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
quickery-1.3.1 lib/quickery/active_record_extensions.rb
quickery-1.3.0 lib/quickery/active_record_extensions.rb
quickery-1.2.0 lib/quickery/active_record_extensions.rb
quickery-1.1.0 lib/quickery/active_record_extensions.rb
quickery-1.0.0 lib/quickery/active_record_extensions.rb