Acciones
Errores #3633
cerradaIncompatibilidad de doorkeeper 1.4 con rails 4.2
Fecha de inicio:
2019-03-27
Fecha fin:
% Realizado:
100%
Tiempo estimado:
Versión:
Descripción
La versión de doorkeeper que se está usando en gong (1.4) es incompatible con rails 2.4 por lo que se produce un error al añadir una nueva aplicación para la autentificacíon oauth:
NoMethodError (undefined method `to_model' for #<Array:0x00007f56a40045e0> Did you mean? to_xml): actionpack (4.2.10) lib/action_dispatch/routing/polymorphic_routes.rb:297:in `handle_list' actionpack (4.2.10) lib/action_dispatch/routing/polymorphic_routes.rb:206:in `polymorphic_method' actionpack (4.2.10) lib/action_dispatch/routing/polymorphic_routes.rb:114:in `polymorphic_url' actionpack (4.2.10) lib/action_dispatch/routing/url_for.rb:164:in `url_for' actionpack (4.2.10) lib/action_controller/metal/redirecting.rb:95:in `_compute_redirect_to_location' actionpack (4.2.10) lib/action_controller/metal/redirecting.rb:75:in `redirect_to' actionpack (4.2.10) lib/action_controller/metal/flash.rb:57:in `redirect_to' actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:64:in `block in redirect_to' activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:63:in `redirect_to' responders (2.4.1) lib/action_controller/responder.rb:145:in `redirect_to' responders (2.4.1) lib/action_controller/responder.rb:205:in `navigation_behavior' responders (2.4.1) lib/action_controller/responder.rb:172:in `rescue in to_html' responders (2.4.1) lib/action_controller/responder.rb:169:in `to_html' responders (2.4.1) lib/action_controller/responder.rb:163:in `respond' responders (2.4.1) lib/action_controller/responder.rb:156:in `call' responders (2.4.1) lib/action_controller/respond_with.rb:211:in `respond_with' doorkeeper (1.4.0) app/controllers/doorkeeper/applications_controller.rb:21:in `create' ...
Más info:
Acciones