Try session[:blah] = value.to_date
------Original Message------
From: rvhi
Sender: [email protected]
To: ActiveScaffold : Ruby on Rails plugin
ReplyTo: [email protected]
Subject: save search conditions in session
Sent: Jun 3, 2009 3:58 AM
Hi,
I try to save search conditions into session data. So later I can
reuse the same search conditions, e.g. date range.
The only thing I can think of is the following inside
condition_for_foo_column.
session[:foo] = value
However rails spits an error,
Symbol as array index
Can someone give some suggestion?
Thanks,
Sent from my Verizon Wireless BlackBerry
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---