You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a simple rails app:
:~ rails generate scaffold User name:string email:string
:~ rake db:migrate
and then edited _form.html.erb for using the DataTable Plugin:
The form works completely well when a User is created. But, when i try update User's information it returns me a routing error:
No route matches [POST] "/users/1"
For Update the call should have been PUT but it is using POST here. It only happens when I use the Gem otherwise the Update is working fine.
Please look into the following matter.