does rails enforce data-method "GET" be uppercase?
nathanallen opened this issue · 1 comments
nathanallen commented
At a glance it seems possible that the data-method
value could be a lowercase "get", which would fail this check
Line 434 in 4b6e30f
jeremy commented
Confirm, it could. Methods are uppercase, but lowercase usage is common and exhibited elsewhere. data-method
is typically omitted entirely for GET requests, which may be why nobody has noticed. PR welcome to add support for lowercase get
in this case 😊