Sha256: 457682bca65f52f5737d8eaf171ccb30a36160227c96744f13be0a526553e023
Contents?: true
Size: 439 Bytes
Versions: 1
Compression:
Stored size: 439 Bytes
Contents
#encoding: utf-8 module SeedUpgrade class Railtie < ::Rails::Railtie generators do require File.expand_path("../../generators/i18n_attributes/model/model_generator", __FILE__) require 'rails/generators/rails/model/model_generator' Rails::Generators::ModelGenerator.send(:hook_for, :i18n_attributes) Rails::Generators::ModelGenerator.send(:class_option, :i18n_attributes, :default => true) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
i18n_attributes-0.1.6 | lib/i18n_attributes/railtie.rb |