This project is archived and is in readonly mode.
Doc for ActionController::Resources::Resource.resources
Reported by Chris Lloyd | April 17th, 2008 @ 02:23 AM
Updated documentation for map.resources :requirements.
Comments and changes to this ticket
-
josh April 17th, 2008 @ 07:05 PM
- Assigned user set to Pratik
- Title changed from [PATCH] Doc for ActionController::Resources::Resource.resources to Doc for ActionController::Resources::Resource.resources
-
Xavier Noria April 22nd, 2008 @ 10:58 AM
Looks like the example is not valid:
actionpack/lib/action_controller/routing/builder.rb:104:in `assign_route_options': Regexp anchor characters are not allowed in routing requirements: /^\d+\.\d+\.\d+\.\d+$/ (ArgumentError)
Could you please provide another one?
-
Chris Lloyd April 22nd, 2008 @ 11:21 PM
OK:
http://github.com/chrislloyd/rai...
I was just using the example given in the CHANGELOG, but you were right about it being incorrect. I've modified it so that it is something simpler and also falls in line with the 'products' examples shown elsewhere.
-
Pratik May 1st, 2008 @ 10:35 AM
- State changed from new to resolved
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Tags
Referenced by
- 3971 polymorphic_path seems to be calling incorrect path method GET /user/new & make a user record update app/views/users...
- 2188 Encoding error in Ruby1.9 for templates One more thing, now line errors on templates are wrong (w...