Sha256: 1b38d784c9b92d46d9792962647b11508e55e21a981815c86e982570c63f1f63
Contents?: true
Size: 501 Bytes
Versions: 4
Compression:
Stored size: 501 Bytes
Contents
module Attachs class Railtie < Rails::Railtie initializer 'attachs.active_record' do ActiveSupport.on_load :active_record do ::ActiveRecord::Base.include( Attachs::Extensions::ActiveRecord::Base, Attachs::Extensions::ActiveRecord::Validations ) end end initializer 'attachs.i18n' do I18n.load_path += Dir[File.expand_path('../locales/*.yml', __FILE__)] end rake_tasks do load 'tasks/attachs.rake' end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
attachs-4.0.0.5 | lib/attachs/railtie.rb |
attachs-4.0.0.4 | lib/attachs/railtie.rb |
attachs-4.0.0.3 | lib/attachs/railtie.rb |
attachs-4.0.0.2 | lib/attachs/railtie.rb |