Sha256: be2570c55bf7871a813b7f7d17c2c6f55fdaf3b7acdadf2d1369452e51e6d464

Contents?: true

Size: 230 Bytes

Versions: 1

Compression:

Stored size: 230 Bytes

Contents

require 'rails'

module HasDefaultValue
  class Railtie < Rails::Railtie
    initializer 'has_default_value' do |app|
      ActiveSupport.on_load :active_record do
        include HasDefaultValue::Base
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_default_value-0.0.1 lib/has_default_value/railtie.rb