Sha256: 9947b737d9bf44efb41bcba7a44b95e5c073e59f44af49fb225a0d7c5280294f
Contents?: true
Size: 437 Bytes
Versions: 10
Compression:
Stored size: 437 Bytes
Contents
%w(base filter builder auto_html_for).each do |f| require File.expand_path("../auto_html/#{f}", __FILE__) end Dir["#{File.dirname(__FILE__) + '/auto_html/filters'}/**/*"].each do |filter| require "#{filter}" end # if rails require 'auto_html/railtie' if defined?(Rails::Railtie) if defined?(ActiveRecord::Base) ActiveRecord::Base.send :include, AutoHtmlFor module ActionView::Helpers::TextHelper include AutoHtml end end
Version data entries
10 entries across 10 versions & 1 rubygems