[Solved] Does rails use method: :patch for editing with _form.html.erb?
As mentioned in the tutorial you shared: The reason we can use this shorter, simpler form_for declaration to stand in for either of the other forms is that @article is a resource corresponding to a full set of RESTful routes, and Rails is able to infer which URI and method to use. Also, from the reference given there: For an … Read more