Wednesday, May 26, 2010

[Rails] Re: Does Rails 3 eliminate URL helpers for 'show'???

The documentation for ActionController::UrlFor says the helper routes
are *supposed* to be made, and I can still generate the routes using
ActionController::PolymorphicRoutes#polymorphic_url - I'm thinking
this is a bug???

On May 26, 12:48 pm, Ryan Michael <keri...@gmail.com> wrote:
> I don't seem to have the usual *_url, *_path helpers for the show,
> update, or destroy actions on resourced routes.  If I make a new rails
> app and add a route resources :random, I get url helpers for new,
> edit, index, etc - but not for the helpers that require passing a
> model instance.
>
> Has this been changed in Rails 3, or do I just have something
> misconfigured?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate