Sha256: 29889a4741252789d678e9c0fb453d444ccb55a87fd65fa55fc3191d3a05e06a

Contents?: true

Size: 293 Bytes

Versions: 1

Compression:

Stored size: 293 Bytes

Contents

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

1 entries across 1 versions & 1 rubygems

Version Path
jt-rails-tokenizable-1.0.4 lib/jt-rails-tokenizable.rb