Route filtered by method returns 404

I’m posting here in relation to a problem I reported with
which uses Ruby on Rails. The bug I reported can be viewed at:

In short, the route table had a matching URL, but not a matching method.
that case, Ruby apparently falls through to report a “404 Not Found”
message, even though the request URL was in fact matched. IMO, when a
matches, but is filtered out due to no matching method, then the
appropriate return message should be “405 Method Not Allowed” (with an
Allow header that lists the methods implemented for the matching URL).

Is this a known problem?

Should I report it as a bug?