Tuesday, February 22, 2011

Re: [Rails] Rails 3 routing problem

On Mon, Feb 21, 2011 at 2:15 PM, David J. Hamilton <groups@hjdivad.com> wrote:
> Excerpts from Phil Crissman's message of Sun Feb 20 15:14:45 -0800 2011:
>> > Started POST "/items/28/price" for 127.0.0.1 at 2011-02-20 18:52:10 -0300
>> >
>> > ActionController::RoutingError (No route matches "/items/28/price"):
>> First check: is this route listed when you do `rake routes | grep price` ?
>
> Second check: Confirm that your form really does have method=POST.
Yes, it does. Anyway, I've just changed it to use the update action,
it makes more sense anyway.
However, I still don't understand why it is happening.

--
Leonardo Mateo.
There's no place like ~

--
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