Browse files

added a require for rails_sanitize in the init.rb. This is necessary

for running rails in threadsafe mode (config.threadsafe!) where
automatic loading by ActiveSupport::Dependencies is disabled.
  • Loading branch information...
1 parent ecc006a commit e15c3d252ccc2cf6fb01e9db2cad11e6bbf379ee Justin Coyne committed Nov 6, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 init.rb
@@ -1,2 +1,3 @@
+require 'rails_sanitize'
require 'xss_terminate'
ActiveRecord::Base.send(:include, XssTerminate)

0 comments on commit e15c3d2

Please sign in to comment.