Sha256: 63e0a7f4c93dbacbb86f7029473804217109eff1cc6377fae9666779ddfab71d
Contents?: true
Size: 354 Bytes
Versions: 11
Compression:
Stored size: 354 Bytes
Contents
module JT module Rails module Tokenizable end end end require 'tokenize' module JT::Rails::Tokenizable class Railtie < Rails::Railtie initializer 'jt_rails_tokenizable.insert_into_active_record' do |app| ActiveSupport.on_load :active_record do ActiveRecord::Base.send(:include, JT::Rails::Tokenizable::Tokenize) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems