An enterprise security extension for devise, trying to meet industrial standard security demands for web applications.
747
stars
346
forks
source link
Password Expirable no implicit conversion of Symbol into String error. #228
Open
oscarcolome opened 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:in
block in require' (gem) activesupport-3.2.7/lib/active_support/dependencies.rb:236:inload_dependency' (gem) activesupport-3.2.7/lib/active_support/dependencies.rb:251:in
require' (gem) devise_security_extension-0.9.2/app/controllers/devise/password_expired_controller.rb:28:inresource_params' (gem) devise_security_extension-0.9.2/app/controllers/devise/password_expired_controller.rb:15:in
update' (gem) actionpack-3.2.7/lib/action_controller/metal/implicit_render.rb:4:insend_action' (gem) actionpack-3.2.7/lib/abstract_controller/base.rb:167:in
process_action' (gem) actionpack-3.2.7/lib/action_controller/metal/rendering.rb:10:inprocess_action' (gem) actionpack-3.2.7/lib/abstract_controller/callbacks.rb:18:in
block 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:in
run_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:in
run_callbacks' (gem) actionpack-3.2.7/lib/abstract_controller/callbacks.rb:17:inprocess_action' (gem) actionpack-3.2.7/lib/action_controller/metal/rescue.rb:29:in
process_action' (gem) actionpack-3.2.7/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action' (gem) activesupport-3.2.7/lib/active_support/notifications.rb:123:in
block in instrument' (gem) activesupport-3.2.7/lib/active_support/notifications/instrumenter.rb:20:ininstrument' (gem) activesupport-3.2.7/lib/active_support/notifications.rb:123:in
instrument' (gem) actionpack-3.2.7/lib/action_controller/metal/instrumentation.rb:29:inprocess_action' (gem) actionpack-3.2.7/lib/action_controller/metal/params_wrapper.rb:207:in
process_action' (gem) activerecord-3.2.7/lib/active_record/railties/controller_runtime.rb:18:inprocess_action' (gem) actionpack-3.2.7/lib/abstract_controller/base.rb:121:in
process' (gem) actionpack-3.2.7/lib/abstract_controller/rendering.rb:45:inprocess' (gem) actionpack-3.2.7/lib/action_controller/metal.rb:203:in
dispatch' (gem) actionpack-3.2.7/lib/action_controller/metal/rack_delegation.rb:14:indispatch' (gem) actionpack-3.2.7/lib/action_controller/metal.rb:246:in
block in action' (gem) actionpack-3.2.7/lib/action_dispatch/routing/route_set.rb:73:indispatch' (gem) actionpack-3.2.7/lib/action_dispatch/routing/route_set.rb:36:in
call' (gem) actionpack-3.2.7/lib/action_dispatch/routing/mapper.rb:42:incall' (gem) journey-1.0.4/lib/journey/router.rb:68:in
block in call' (gem) journey-1.0.4/lib/journey/router.rb:56:incall' (gem) actionpack-3.2.7/lib/action_dispatch/routing/route_set.rb:600:in
call' (gem) warden-1.2.1/lib/warden/manager.rb:35:inblock in call' (gem) warden-1.2.1/lib/warden/manager.rb:34:in
call' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/best_standards_support.rb:17:incall' (gem) rack-1.4.1/lib/rack/etag.rb:23:in
call' (gem) rack-1.4.1/lib/rack/conditionalget.rb:35:incall' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/head.rb:14:in
call' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/params_parser.rb:21:incall' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/flash.rb:242:in
call' (gem) rack-1.4.1/lib/rack/session/abstract/id.rb:205:incontext' (gem) rack-1.4.1/lib/rack/session/abstract/id.rb:200:in
call' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/cookies.rb:338:incall' (gem) activerecord-3.2.7/lib/active_record/query_cache.rb:64:in
call' (gem) activerecord-3.2.7/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:incall' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/callbacks.rb:28:in
block 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:inrun_callbacks' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/callbacks.rb:27:in
call' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/remote_ip.rb:31:incall' (gem) better_errors-0.7.2/lib/better_errors/middleware.rb:84:in
protected_app_call' (gem) better_errors-0.7.2/lib/better_errors/middleware.rb:79:inbetter_errors_call' (gem) better_errors-0.7.2/lib/better_errors/middleware.rb:56:in
call' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/debug_exceptions.rb:16:incall' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/show_exceptions.rb:56:in
call' (gem) railties-3.2.7/lib/rails/rack/logger.rb:26:incall_app' (gem) railties-3.2.7/lib/rails/rack/logger.rb:16:in
call' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/request_id.rb:22:incall' (gem) rack-1.4.1/lib/rack/methodoverride.rb:21:in
call' (gem) rack-1.4.1/lib/rack/runtime.rb:17:incall' (gem) activesupport-3.2.7/lib/active_support/cache/strategy/local_cache.rb:72:in
call' (gem) rack-1.4.1/lib/rack/lock.rb:15:incall' (gem) actionpack-3.2.7/lib/action_dispatch/middleware/static.rb:62:in
call' /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:incall' (gem) railties-3.2.7/lib/rails/engine.rb:479:in
call' (gem) railties-3.2.7/lib/rails/application.rb:220:incall' (gem) rack-1.4.1/lib/rack/content_length.rb:14:in
call' (gem) railties-3.2.7/lib/rails/rack/log_tailer.rb:17:incall' (gem) thin-1.4.1/lib/thin/connection.rb:80:in
block in pre_process' (gem) thin-1.4.1/lib/thin/connection.rb:78:inpre_process' (gem) thin-1.4.1/lib/thin/connection.rb:53:in
process' (gem) thin-1.4.1/lib/thin/connection.rb:38:inreceive_data' (gem) eventmachine-1.0.9.1/lib/eventmachine.rb:193:in
run' (gem) thin-1.4.1/lib/thin/backends/base.rb:63:instart' (gem) thin-1.4.1/lib/thin/server.rb:159:in
start' (gem) rack-1.4.1/lib/rack/handler/thin.rb:13:inrun' (gem) rack-1.4.1/lib/rack/server.rb:265:in
start' (gem) railties-3.2.7/lib/rails/commands/server.rb:70:instart' (gem) railties-3.2.7/lib/rails/commands.rb:55:in
block 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.