Sha256: c49026fd50cdbf7cae5c79dd9c31a1540a06c74a99b8446a53e077f86ac1aeec

Contents?: true

Size: 265 Bytes

Versions: 104

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: true

require 'declare_schema'
require 'rails'

module DeclareSchema
  class Railtie < Rails::Railtie
    ActiveSupport.on_load(:active_record) do
      require 'declare_schema/extensions/active_record/fields_declaration'
    end
  end
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
declare_schema-2.3.1 lib/declare_schema/railtie.rb
declare_schema-2.3.0 lib/declare_schema/railtie.rb
declare_schema-2.3.0.pre.is.0 lib/declare_schema/railtie.rb
declare_schema-2.2.1 lib/declare_schema/railtie.rb
declare_schema-2.2.0.colin.1 lib/declare_schema/railtie.rb
declare_schema-2.2.0 lib/declare_schema/railtie.rb
declare_schema-2.1.0 lib/declare_schema/railtie.rb
declare_schema-2.1.0.pre.1 lib/declare_schema/railtie.rb
declare_schema-1.4.0 lib/declare_schema/railtie.rb
declare_schema-1.4.0.colin.11 lib/declare_schema/railtie.rb
declare_schema-1.3.6 lib/declare_schema/railtie.rb
declare_schema-1.3.6.colin.1 lib/declare_schema/railtie.rb
declare_schema-1.3.5 lib/declare_schema/railtie.rb
declare_schema-1.3.5.colin.1 lib/declare_schema/railtie.rb
declare_schema-1.4.0.colin.9 lib/declare_schema/railtie.rb
declare_schema-1.3.4 lib/declare_schema/railtie.rb
declare_schema-1.3.4.colin.1 lib/declare_schema/railtie.rb
declare_schema-1.4.0.colin.8 lib/declare_schema/railtie.rb
declare_schema-1.3.3 lib/declare_schema/railtie.rb
declare_schema-1.3.3.colin.1 lib/declare_schema/railtie.rb