Sha256: 0b26699c41b813db6922ae56bf4789354c6c58fe73dbafa677a4e9e35737ecfa

Contents?: true

Size: 206 Bytes

Versions: 2

Compression:

Stored size: 206 Bytes

Contents

module PrefixedIds
  class Engine < ::Rails::Engine
    initializer "prefixed_ids.model" do
      ActiveSupport.on_load(:active_record) do
        include PrefixedIds::Attribute
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prefixed_ids-1.0.1 lib/prefixed_ids/engine.rb
prefixed_ids-1.0.0 lib/prefixed_ids/engine.rb