You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ruby | /home/graudeejs/.asdf/installs/ruby/2.7.0/lib/ruby/gems/2.7.0/gems/rack-2.1.2/lib/rack/lint.rb: in block in check_status, line 621
The problem is that hanami controller doesn't return rack compatible return value (it returns an instance of Hanami::Action::Response. This would be fine, if router somehow magically would #to_a it.
Hello!
I'm trying to update hanami-router and hanami-controller in one of my dev projects to 2.0.0.alpha1
One thing that I came across is that hanami controller just doesn't work as it should by rack spec (perhaps that's expected)
Gemfile
config.ru
This raises
NoMethodException
when requesting/
.The problem is that hanami controller doesn't return rack compatible return value (it returns an instance of
Hanami::Action::Response
. This would be fine, if router somehow magically would#to_a
it.So the question is: Am I doing something very wrong? If so how to fix it correctly in this example.
P.S.
For now will use workaround:
The text was updated successfully, but these errors were encountered: