Sergio,

Here is one way to duplicate the problem I am seeing with
marked_records:

1. Mark a record (check the box).
2. Delete the marked record using the standard Active Scaffold
'Delete' action link.
3. Execute an action link of type :collection which is looking for
marked records via a controller statement such as
@marked =
Report.find(active_scaffold_session_storage[:marked_records].to_a)
4. You should get an error such as "Couldn't find Report with ID=38"
where 38 is the ID of the deleted record.

Therefore, it looks like deleting a record does not remove it from the
marked_records set.

Thoughts?

Thanks,

Jeff

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