{"issue":{"state":"closed","created_at":"2011-11-29T15:10:57Z","updated_at":"2011-11-30T04:56:05Z","comments":2,"user":{"gravatar_id":"07eabe24326e5c3ae83ca52ef05b9cb8","id":114588,"url":"https://api.github.com/users/abyx","avatar_url":"https://secure.gravatar.com/avatar/07eabe24326e5c3ae83ca52ef05b9cb8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"abyx"},"body":"The documentation for `resources` states that the `path_names` argument can be used to rename any of the seven CRUD methods, but trying to do so doesn't work for me. Doing this:\r\n\r\n    resources :books, :path_names => { :create => 'my_create' }\r\n\r\nResults in the same default route for `create`:\r\n\r\n    $ rake routes\r\n           books GET    /books(.:format)                   {:action=>\"index\", :controller=>\"books\"}\r\n                 POST   /books(.:format)                   {:action=>\"create\", :controller=>\"books\"}\r\n        new_book GET    /books/new(.:format)               {:action=>\"new\", :controller=>\"books\"}\r\n       edit_book GET    /books/:id/edit(.:format)          {:action=>\"edit\", :controller=>\"books\"}\r\n            book GET    /books/:id(.:format)               {:action=>\"show\", :controller=>\"books\"}\r\n                 PUT    /books/:id(.:format)               {:action=>\"update\", :controller=>\"books\"}\r\n                 DELETE /books/:id(.:format)               {:action=>\"destroy\", :controller=>\"books\"}\r\n\r\nWhat is mistaken here, the code or the documentation?","assignee":null,"id":2385334,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"number":3799,"title":"resources path_names not working on `create`","closed_at":"2011-11-30T04:56:05Z","html_url":"https://github.com/rails/rails/issues/3799","url":"https://api.github.com/repos/rails/rails/issues/3799","milestone":null},"action":"closed"}