Sha256: 8f7185410e2b3513cd952c5ce955848741501056d3d17d7baa786645adeb52e8

Contents?: true

Size: 287 Bytes

Versions: 2

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true

module SchemaValidations
  class Railtie < Rails::Railtie #:nodoc:

    initializer 'schema_validations.insert', :after => "schema_plus.insert" do
      ActiveSupport.on_load(:active_record) do
        SchemaValidations.insert
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
schema_validations-2.4.1 lib/schema_validations/railtie.rb
schema_validations-2.4.0 lib/schema_validations/railtie.rb