Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Doc for ActionController::Resources::Resource.resources

#15

Updated documentation for map.resources :requirements.

Reported by Chris Lloyd · April 17th, 2008 @ 02:23 AM

State: resolved
Milestone: none
Assigned to: Pratik Pratik
Importance: none

Activity

  1. josh
    josh
    • Assigned user set to Pratik
    • Title changed from [PATCH] Doc for ActionController::Resources::Resource.resources to Doc for ActionController::Resources::Resource.resources

    April 17th, 2008 @ 07:05 PM

  2. Xavier Noria
    Xavier Noria

    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?

    April 22nd, 2008 @ 10:58 AM

  3. Chris Lloyd
    Chris Lloyd

    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.

    April 22nd, 2008 @ 11:21 PM

  4. Xavier Noria
  5. Pratik
    Pratik
    • State changed from new to resolved

    May 1st, 2008 @ 10:35 AM