I am working on app of Rails 4.2 and facing an unusual issue as below.
**ERROR**
wrong number of arguments (given 3, expected 0..1)
on link_to with syntax
<%= link_to 'In Progress', letters_path(status_filter: 'In Progress') %>
Please find attached screenshot for reference. This seems very much strange to me as I am not able to find any issue with code.
Routes
FULL TRACE
Do you really need bartt-ssl_requirement gem, like 孙悟空 said: try to take it away to check if that's the cause of the problem - It's on the top of the stack trace.
As said on the readme
bartt-ssl_requirement is compatible with ruby 1.8.7 and 1.9.x.
Did you recently upgraded your app to rails 4?