lib/simple_captcha.rb in simple_captcha2-0.3.1 vs lib/simple_captcha.rb in simple_captcha2-0.3.2

- old
+ new

@@ -12,11 +12,12 @@ autoload :ControllerHelpers, 'simple_captcha/controller' autoload :FormBuilder, 'simple_captcha/form_builder' autoload :CustomFormBuilder, 'simple_captcha/formtastic' + autoload :ModelHelpers, 'simple_captcha/model_helpers' + if defined?(ActiveRecord) - autoload :ModelHelpers, 'simple_captcha/active_record' autoload :SimpleCaptchaData, 'simple_captcha/simple_captcha_data' else autoload :SimpleCaptchaData, 'simple_captcha/simple_captcha_data_mongoid.rb' end