Sha256: 598438b603dfbbb30a981c827386e06d76fbd6af2e1f52b32504ae105c331748
Contents?: true
Size: 414 Bytes
Versions: 20
Compression:
Stored size: 414 Bytes
Contents
require 'attached' require 'rails' module Attached class Railtie < Rails::Railtie rake_tasks do load 'tasks/attached.rake' end initializer 'attached.initialize' do ActiveSupport.on_load(:active_record) do ActiveRecord::Base.send :include, Attached ActiveRecord::ConnectionAdapters::TableDefinition.send :include, Attached::Definition end end end end
Version data entries
20 entries across 20 versions & 1 rubygems