Hello,
Trying to add an embeded active scaffold with constrains checking a
condition.
Something like this..
render :active_scaffold => "option_terms", :constraints =>
{ 'expires_at > ?' => DateTime.now.utc }
I am getting an error:
Malformed constraint `OptionTerms#expires_at > ?'
What is the correct format for this? Thanks.
--
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.