Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 330 Bytes
# dependencies
require "active_support"
# modules
require "hightop/enumerable"
require "hightop/version"
ActiveSupport.on_load(:active_record) do
require "hightop/kicks"
extend Hightop::Kicks
end
ActiveSupport.on_load(:mongoid) do
require "hightop/mongoid"
Mongoid::Document::ClassMethods.include(Hightop::Mongoid)
end
You can’t perform that action at this time.