Sha256: 9d81a67beb06a06b49516580904a7d46373c51f171f904c3745e42528dee450e

Contents?: true

Size: 276 Bytes

Versions: 2

Compression:

Stored size: 276 Bytes

Contents

# frozen_string_literal: true

module ActiveFields
  class Engine < ::Rails::Engine
    isolate_namespace ActiveFields

    initializer "active_fields.active_record" do
      ActiveSupport.on_load(:active_record) do
        include HasActiveFields
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_fields-1.0.0 lib/active_fields/engine.rb
active_fields-0.2.0 lib/active_fields/engine.rb