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

Version Path
jt-rails-tokenizable-1.2.1 lib/jt-rails-tokenizable.rb
jt-rails-tokenizable-1.2.0 lib/jt-rails-tokenizable.rb
jt-rails-tokenizable-1.1.2 lib/jt-rails-tokenizable.rb
jt-rails-tokenizable-1.1.1 lib/jt-rails-tokenizable.rb
jt-rails-tokenizable-1.1 lib/jt-rails-tokenizable.rb
jt-rails-tokenizable-1.0.10 lib/jt-rails-tokenizable.rb
jt-rails-tokenizable-1.0.9 lib/jt-rails-tokenizable.rb
jt-rails-tokenizable-1.0.8 lib/jt-rails-tokenizable.rb
jt-rails-tokenizable-1.0.7 lib/jt-rails-tokenizable.rb
jt-rails-tokenizable-1.0.6 lib/jt-rails-tokenizable.rb
jt-rails-tokenizable-1.0.5 lib/jt-rails-tokenizable.rb