lib/simple_captcha.rb in glebtv-simple_captcha-0.4.1 vs lib/simple_captcha.rb in glebtv-simple_captcha-0.4.3
- old
+ new
@@ -19,12 +19,12 @@
if Object.const_defined?('Mongoid')
autoload :SimpleCaptchaData, File.dirname(__FILE__) + '/simple_captcha/storage/mongoid'
else
autoload :SimpleCaptchaData, File.dirname(__FILE__) + '/simple_captcha/storage/active_record'
- autoload :ModelHelpers, File.dirname(__FILE__) + '/simple_captcha/active_record'
end
-
+
+ autoload :ModelHelpers, File.dirname(__FILE__) + '/simple_captcha/model_helpers'
autoload :Middleware, File.dirname(__FILE__) + '/simple_captcha/middleware'
mattr_accessor :image_size
@@image_size = "130x40"