I implemented the solution there but soon found that every request for
a non-existent URI (http://localhost/asdf/asdf/as/dfff/ff), generated
an exception due to
It is strange to me that the route matching would throw an error
because the path matched but the method doesn't. Shouldn't the route
matching continue through the rest of the routes before making that
determination?
Aymeric Bouzy
unread,
Jan 15, 2017, 3:21:39 AM1/15/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
I have had the same issue. It would be great if rails could automatically add routes for the OPTIONS http verb based on the config/routes.rb file.