Sha256: a7615605a32235d5428b7d6566b3210350938f1ddefa860788f584b6e0e59e9e
Contents?: true
Size: 528 Bytes
Versions: 1
Compression:
Stored size: 528 Bytes
Contents
class Passwd class Railtie < ::Rails::Railtie config.passwd = ActiveSupport::OrderedOptions.new initializer "passwd" do require "passwd/rails/action_controller_ext" require "passwd/rails/active_record_ext" ActiveSupport.on_load(:action_controller) do ::ActionController::Base.send(:include, ::Passwd::Rails::ActionControllerExt) end ActiveSupport.on_load(:active_record) do ::ActiveRecord::Base.send(:extend, Passwd::Rails::ActiveRecordExt) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
passwd-0.3.0 | lib/passwd/railtie.rb |