Sha256: 350973a4559312ea8151e6471fef378e31edb092f0607f1058fce57063ee7410
Contents?: true
Size: 479 Bytes
Versions: 2
Compression:
Stored size: 479 Bytes
Contents
module Chanko class Railtie < Rails::Railtie initializer "chanko" do |app| ::ActionView::Base.send(:include, Helper, Invoker, UnitProxyProvider) ::ActionController::Base.send(:include, Controller, Invoker, UnitProxyProvider) ::ActiveRecord::Base.send(:include, UnitProxyProvider) ::ActiveRecord::Relation.send(:include, UnitProxyProvider) ::ActiveRecord::Associations::CollectionAssociation.send(:include, UnitProxyProvider) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chanko-2.0.1 | lib/chanko/railtie.rb |
chanko-2.0.0 | lib/chanko/railtie.rb |