Hi Frederick,

Please, help me to solve it. I did "bundle update" to update javascript
plugin (jquery-rails (1.0.17)) but it don't solve the issue.

On Sat, Nov 12, 2011 at 12:30 PM, Frederick Cheung <
[email protected]> wrote:

>
>
> On Nov 12, 11:06 am, joao souza <[email protected]> wrote:
> > Hi all,
> >
> > I'm learning Rails by Example (chapter 11), by Michael Hartl (
> http://ruby.railstutorial.org/chapters/user-microposts#top) but I got no
> > route matches when I try to delete one micropost.
> >
>
> Your browser is doing a get request, which implies that
>
> >     <%= link_to "delete", micropost, :method  => :delete,
> >                     :confirm => "You sure?",
> >                        :title   => micropost.content %>
>
> the  :method => :delete option isn't having the desired effect. This
> usually means that something is wrong with your javascript setup (e.g.
> you aren't loading the javascript that makes :method => :delete work)
>
> Fred
>
> --
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to