Skip to content

Gem not working properly....converting PUT(update) call to POST #51

@rsk-07

Description

@rsk-07

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:

screenshot from 2013-05-12 01 39 50

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions