I am trying to put an action_link for each row which would take the
data from that row, repackage it up and put it into a different table
(with a different format), then, delete this row from the current
table. :

config.action_links.add :revert, :label => 'Revert', :type => :record

Subsequently in my controller I create:

def revert

end

And in this method, the questions arise:
1. How do I access the record of the row that this action link,
"Revert" has been clicked on so I can access its data -and-
2. How do I delete this row within AS?

Thanks, R. Vince

--

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=.


Reply via email to