Displaying 1 result from an estimated 1 matches for "_and_created_at".
2010 Apr 07
3
Recommendation for searching with regards to timestamp & foreign key attributes
...del in the ":conditions"
AND similarly, I could not quite work out how to specify the "created
within the last 24 hours" filter using searchlogic.
I tried "new_blog_entries =
Blog.status_name_does_not_equal_any([''published'',
''archived''])_and_created_at((Time.now - 24.hours) .. (Time.now))" but
I got an ugly error of "
SyntaxError: (irb):42: syntax error, unexpected tIDENTIFIER, expecting
$end
...''published'', ''archived''])_and_created_at((Time.now - 24.hours) ..
(Ti...
......