Sha256: 33fa66bf2fd5b3d5d627bc1b783131c0511b245701d4963ead358575aae6c7bf
Contents?: true
Size: 468 Bytes
Versions: 1
Compression:
Stored size: 468 Bytes
Contents
require "rails" module Nyanko class Railtie < Rails::Railtie initializer "nyanko" do |app| ::ActionView::Base.send(:include, Invoker, Helper, UnitProxyProvider) ::ActionController::Base.send(:include, Controller) ::ActiveRecord::Base.send(:include, UnitProxyProvider) ::ActiveRecord::Relation.send(:include, UnitProxyProvider) ::ActiveRecord::Associations::CollectionAssociation.send(:include, UnitProxyProvider) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nyanko-0.0.1 | lib/nyanko/railtie.rb |