Re: [Rails] passing parameters to delete link_to

2017-06-06 Thread Jim Ruther Nill
On Wed, Jun 7, 2017 at 11:24 AM, Jim Ruther Nill wrote: > > > On Wed, Jun 7, 2017 at 11:21 AM, fugee ohu wrote: > >> The rails scaffolding generator creates delete links as objects in index >> views so why when I google how to pass params to a delete link all the >> answers are examples where a

Re: [Rails] passing parameters to delete link_to

2017-06-06 Thread Jim Ruther Nill
On Wed, Jun 7, 2017 at 11:21 AM, fugee ohu wrote: > The rails scaffolding generator creates delete links as objects in index > views so why when I google how to pass params to a delete link all the > answers are examples where a path is used My links don't have a path, they > have an object That'

[Rails] passing parameters to delete link_to

2017-06-06 Thread fugee ohu
The rails scaffolding generator creates delete links as objects in index views so why when I google how to pass params to a delete link all the answers are examples where a path is used My links don't have a path, they have an object That's rails out of the box Like this: <% @press_releases.