overriding the partial would probably be your best bet
On Thu, Feb 12, 2009 at 2:05 PM, johnnybutler7 <[email protected]>wrote: > > Hi, > > I have a the following below to give me a assocation link to invoices > from the client grid. > > config.nested.add_link "Invoices", [:invoices] > config.columns[:invoices].association.reverse = : > > What is the best way to get this link "Invoices" dynamic so its > customised to the current record in the list grid. So "Client 1 > Invoices" and "Client 2 Invoices" where "Client 1" and "Client 2" are > replace with client.name. > > The only way i can think is to overwrite the partial that deals with > this. > > Anybody got a solution?? > > JB > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
