phatworx / devise_security_extension

An enterprise security extension for devise, trying to meet industrial standard security demands for web applications.
MIT License
747 stars 346 forks source link

Password Expirable no implicit conversion of Symbol into String error. #228

Open oscarcolome opened 6 years ago

oscarcolome commented 6 years ago

Hello there,

I started using the password_expirable feature of the gem. The form renders correctly, but when I fill it, the application pops this error:

TypeError - no implicit conversion of Symbol into String: (gem) activesupport-3.2.7/lib/active_support/dependencies.rb:251:inblock in require' (gem) activesupport-3.2.7/lib/active_support/dependencies.rb:236:in load_dependency' (gem) activesupport-3.2.7/lib/active_support/dependencies.rb:251:inrequire' (gem) devise_security_extension-0.9.2/app/controllers/devise/password_expired_controller.rb:28:in resource_params' (gem) devise_security_extension-0.9.2/app/controllers/devise/password_expired_controller.rb:15:inupdate' (gem) actionpack-3.2.7/lib/action_controller/metal/implicit_render.rb:4:in send_action' (gem) actionpack-3.2.7/lib/abstract_controller/base.rb:167:inprocess_action' (gem) actionpack-3.2.7/lib/action_controller/metal/rendering.rb:10:in process_action' (gem) actionpack-3.2.7/lib/abstract_controller/callbacks.rb:18:inblock in process_action' (gem) activesupport-3.2.7/lib/active_support/callbacks.rb:436:in _run__92611681294657152__process_action__427091581875436498__callbacks' (gem) activesupport-3.2.7/lib/active_support/callbacks.rb:405:inrun_callback' (gem) activesupport-3.2.7/lib/active_support/callbacks.rb:385:in _run_process_action_callbacks' (gem) activesupport-3.2.7/lib/active_support/callbacks.rb:81:inrun_callbacks' (gem) actionpack-3.2.7/lib/abstract_controller/callbacks.rb:17:in process_action' (gem) actionpack-3.2.7/lib/action_controller/metal/rescue.rb:29:inprocess_action' (gem) actionpack-3.2.7/lib/action_controller/metal/instrumentation.rb:30:in block in process_action' (gem) activesupport-3.2.7/lib/active_support/notifications.rb:123:inblock in instrument' (gem) activesupport-3.2.7/lib/active_support/notifications/instrumenter.rb:20:in instrument' (gem) activesupport-3.2.7/lib/active_support/notifications.rb:123:ininstrument' (gem) actionpack-3.2.7/lib/action_controller/metal/instrumentation.rb:29:in process_action' (gem) actionpack-3.2.7/lib/action_controller/metal/params_wrapper.rb:207:inprocess_action' (gem) activerecord-3.2.7/lib/active_record/railties/controller_runtime.rb:18:in process_action' (gem) actionpack-3.2.7/lib/abstract_controller/base.rb:121:inprocess' (gem) actionpack-3.2.7/lib/abstract_controller/rendering.rb:45:in process' (gem) actionpack-3.2.7/lib/action_controller/metal.rb:203:indispatch' (gem) actionpack-3.2.7/lib/action_controller/metal/rack_delegation.rb:14:in dispatch' (gem) actionpack-3.2.7/lib/action_controller/metal.rb:246:inblock in action' (gem) actionpack-3.2.7/lib/action_dispatch/routing/route_set.rb:73:in dispatch' (gem) actionpack-3.2.7/lib/action_dispatch/routing/route_set.rb:36:incall' (gem) actionpack-3.2.7/lib/action_dispatch/routing/mapper.rb:42:in call' (gem) journey-1.0.4/lib/journey/router.rb:68:inblock in call' (gem) journey-1.0.4/lib/journey/router.rb:56:in call' (gem) actionpack-3.2.7/lib/action_dispatch/routing/route_set.rb:600:incall' (gem) warden-1.2.1/lib/warden/manager.rb:35:in block in call' (gem) warden-1.2.1/lib/warden/manager.rb:34:incall' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/best_standards_support.rb:17:in call' (gem) rack-1.4.1/lib/rack/etag.rb:23:incall' (gem) rack-1.4.1/lib/rack/conditionalget.rb:35:in call' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/head.rb:14:incall' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/params_parser.rb:21:in call' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/flash.rb:242:incall' (gem) rack-1.4.1/lib/rack/session/abstract/id.rb:205:in context' (gem) rack-1.4.1/lib/rack/session/abstract/id.rb:200:incall' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/cookies.rb:338:in call' (gem) activerecord-3.2.7/lib/active_record/query_cache.rb:64:incall' (gem) activerecord-3.2.7/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in call' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/callbacks.rb:28:inblock in call' (gem) activesupport-3.2.7/lib/active_support/callbacks.rb:405:in `_run2341711193869382774call1911366413056997032__callbacks' (gem) activesupport-3.2.7/lib/active_support/callbacks.rb:405:in __run_callback' (gem) activesupport-3.2.7/lib/active_support/callbacks.rb:385:in_run_call_callbacks' (gem) activesupport-3.2.7/lib/active_support/callbacks.rb:81:in run_callbacks' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/callbacks.rb:27:incall' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/remote_ip.rb:31:in call' (gem) better_errors-0.7.2/lib/better_errors/middleware.rb:84:inprotected_app_call' (gem) better_errors-0.7.2/lib/better_errors/middleware.rb:79:in better_errors_call' (gem) better_errors-0.7.2/lib/better_errors/middleware.rb:56:incall' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/show_exceptions.rb:56:incall' (gem) railties-3.2.7/lib/rails/rack/logger.rb:26:in call_app' (gem) railties-3.2.7/lib/rails/rack/logger.rb:16:incall' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/request_id.rb:22:in call' (gem) rack-1.4.1/lib/rack/methodoverride.rb:21:incall' (gem) rack-1.4.1/lib/rack/runtime.rb:17:in call' (gem) activesupport-3.2.7/lib/active_support/cache/strategy/local_cache.rb:72:incall' (gem) rack-1.4.1/lib/rack/lock.rb:15:in call' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/static.rb:62:incall' /home/oscar/.asdf/installs/ruby/2.1.0/lib/ruby/gems/2.1.0/bundler/gems/raven-ruby-16a463b59142/lib/raven/integrations/rack.rb:54:in call' (gem) railties-3.2.7/lib/rails/engine.rb:479:incall' (gem) railties-3.2.7/lib/rails/application.rb:220:in call' (gem) rack-1.4.1/lib/rack/content_length.rb:14:incall' (gem) railties-3.2.7/lib/rails/rack/log_tailer.rb:17:in call' (gem) thin-1.4.1/lib/thin/connection.rb:80:inblock in pre_process' (gem) thin-1.4.1/lib/thin/connection.rb:78:in pre_process' (gem) thin-1.4.1/lib/thin/connection.rb:53:inprocess' (gem) thin-1.4.1/lib/thin/connection.rb:38:in receive_data' (gem) eventmachine-1.0.9.1/lib/eventmachine.rb:193:inrun' (gem) thin-1.4.1/lib/thin/backends/base.rb:63:in start' (gem) thin-1.4.1/lib/thin/server.rb:159:instart' (gem) rack-1.4.1/lib/rack/handler/thin.rb:13:in run' (gem) rack-1.4.1/lib/rack/server.rb:265:instart' (gem) railties-3.2.7/lib/rails/commands/server.rb:70:in start' (gem) railties-3.2.7/lib/rails/commands.rb:55:inblock in <top (required)>' (gem) railties-3.2.7/lib/rails/commands.rb:50:in <top (required)>' script/rails:6:in

'`

Has anyone run into the same issue? Is there a known solution for it?

Thanks in advance.