Hi folks,

I am trying to figure out the syntax to retrieve all marked rows. This
does not work with more than one record marked:

@marked_reports =
Report.find_all_by_id(active_scaffold_session_storage[:marked_records])

as it yields this error:

SQLite3::SQLException: near ",": syntax error: SELECT * FROM "reports"
WHERE ("reports"."id" = '1','3')

I'm clearly finding the ids for the marked records and I expect I'm
just not processing an array correctly. Can anyone suggest the correct
syntax for my query?

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 activescaff...@googlegroups.com.
To unsubscribe from this group, send email to 
activescaffold+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to