Sha256: 20bcbf767cb0481b34b3dcb132bedc3379d5909e12e7e51dd02d2a521df27fdb

Contents?: true

Size: 206 Bytes

Versions: 2

Compression:

Stored size: 206 Bytes

Contents

require 'rails/railtie'

module Decoru
  class Railtie < Rails::Railtie
    initializer :decoru do
      ActiveSupport.on_load :active_record do
        self.include Decoratable
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decoru-0.1.1 lib/decoru/railtie.rb
decoru-0.1.0 lib/decoru/railtie.rb