Skip to content

Commit b62c6d9

Browse files
committed
Rails 3 init fix
1 parent 564050f commit b62c6d9

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

init.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
require 'auto_html'
22

3-
ActiveRecord::Base.send :include, AutoHtmlFor

lib/auto_html.rb

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
Dir["#{File.dirname(__FILE__) + '/auto_html/filters'}/**/*"].each do |filter|
77
require "#{filter}"
88
end
9+
10+
ActiveRecord::Base.send :include, AutoHtmlFor

rails/init.rb

-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
require 'auto_html'
2-
3-
ActiveRecord::Base.send :include, AutoHtmlFor

0 commit comments

Comments
 (0)