> make it page = false?

Thank you for your help. The 'page' parameter only deals with the Ajax
functionality. What I'm interested in is to have control on the query
parameters of my custom action link on each row.

I see that there is an 'id' parameter for each of my custom action
links (when I mouse over them, I can see that each link as an 'id'
param, with a different value, as expected). What I need is to rename
the 'id' parameter as 'book_id'.

I would like to configure this behavior from the active scaffold
config code. I believe the key line is the following:

config.action_links['review'].parameters = {:book_id => 1}

where obviously, '1' needs to be replaced by something else.
Unfortunately, I cannot put params[:id] there...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to