Sha256: 4eb33a04bfab53dd94f85d9be2d087ddcc948acde5144eb59be308d3284aed70
Contents?: true
Size: 471 Bytes
Versions: 1
Compression:
Stored size: 471 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 defined? ActiveRecord::Base # ActiveRecord::Base.send :include, AutoHtmlFor # end # if rails if defined?(ActiveRecord::Base) ActiveRecord::Base.send :include, AutoHtmlFor module ActionView::Helpers::TextHelper include AutoHtml end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
marcosinger-auto_html-1.3.6 | lib/auto_html.rb |