# Problema con redbox

**URL:** <https://www.ruby-forum.com/t/problema-con-redbox/169427>\
**Category:** IT\
**Created:** [June 3, 2009, 5:04pm UTC](https://www.ruby-forum.com/t/problema-con-redbox/169427 "2009-06-03T17:04:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamba](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@jamba](https://www.ruby-forum.com/u/jamba)\
**Post date:** [June 3, 2009, 5:04pm UTC](https://www.ruby-forum.com/t/problema-con-redbox/169427/1 "2009-06-03T17:04:48Z")

</div>

salve sto utilizzando il plugin redbox, ma ho un problema.

### \<%= flash[:notice] %\>
\<%= link\_to\_remote\_redbox("Inserisci un nuovo cliente", :url =\> {:action =\> 'new', :id=\>@id, :loading =\> visual\_effect(:highlight)})%\> \<% @customers.each do |customer| %\> \<% end %\> 

| Numero | Cognome e Nome | Azioni | Fatture | Pratiche |
| --- | --- | --- | --- | --- |
| \<%= customer.id %\> | \<%= link\_to customer.name, edit\_customer\_path(customer) %\> | \<%=link\_to\_remote\_redbox (image\_tag('edit.png'), :url=\>{:action =\> 'edit', :id=\>customer.id })%\>&nbsp;&nbsp; \<%=link\_to\_remote\_redbox (image\_tag('x.gif'), :url=\>{:action =\> 'destroy', :id=\>customer.id})%\> | \<%=customer.invoices.count %\> | \<%=customer.documents.count%\> |

questa view funziona quasi perfettamente, infatti il primo  
link\_to\_remote\_redbox funziona bene, mentre quelli per l’edit ed il  
destroy, ricevo un messaggio di metodi assenti. nel controller ho tutti  
i metodi previsti. (edit destroy updtae ecc…)  
dove sta l’errore?
