Sha256: d31526ba4fce02b2f5def404803dfeec5522396340181b1208d358dae0ecc010

Contents?: true

Size: 213 Bytes

Versions: 2

Compression:

Stored size: 213 Bytes

Contents

class AgeCalculator
  class Railtie < Rails::Railtie
    initializer 'age_calculator.active_model' do |app|
      require 'age_calculator/validator'

      I18n.load_path += AgeValidator.locales
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
age_calculator-2.0.0 lib/age_calculator/railtie.rb
age_calculator-1.2.1 lib/age_calculator/railtie.rb