Jquery-Datatable-Rails Gem: Error on Update. PUT request automatically converting to a POST request

Please checkout this link and help me out here. I guess the Gem has a
It is working perfectly for Creating a User but while Editing User
information it is giving a routing error:

No route matches [POST] “/users/2”

Here is the link: