Sha256: 2f913b420b08f6c92685c7853fc464582ad8f0b835a6f271b152a5ad68fc75ea

Contents?: true

Size: 284 Bytes

Versions: 4

Compression:

Stored size: 284 Bytes

Contents

require "wisper/active_record/version"
require "wisper/active_record/publisher"

module Wisper
  def self.model
    ::Wisper::ActiveRecord::Publisher
  end

  module ActiveRecord
    def self.extend_all
      ::ActiveRecord::Base.class_eval { include Wisper.model }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wisper-activerecord-1.0.0 lib/wisper/active_record.rb
wisper-activerecord-0.3.0 lib/wisper/active_record.rb
wisper-activerecord-0.2.0 lib/wisper/active_record.rb
wisper-activerecord-0.1.0 lib/wisper/active_record.rb