Ruby on Rails Sunday, April 6, 2014

The one I posted was a slightly different one but still gives me the same error.  It does not seem to recognize the link is a 'POST" even though the actual link on the page is a post.

No route matches [GET] "/list_items/136327/buy"


The action 'buy' is in the liat_items_controller.


On Sun, Apr 6, 2014 at 4:16 PM, Frederick Cheung <frederick.cheung@gmail.com> wrote:


On Sunday, April 6, 2014 7:29:56 PM UTC+1, Me wrote:
Thanks, here is the link generated,  <a data-method="post" href="/list_items/136298/buy" rel="nofollow">Buy Now</a>


That's not the same url as the once mentioned in the error. Is the post request completing OK and then redirecting to a non-existent url?

Fred

--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/3kI7VkfKp4Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9a744c1b-ef18-4442-a7e1-a55513c4e4eb%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
"In matters of style, swim with the current; in matters of principle, stand like a rock." 
Thomas Jefferson

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAKohUFxAb8-%2BWFaa3wpui0hevv0mprbcfMqTTf4%2Bqztwaq2W5A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment