search for: status_name_does_not_equal_any

Displaying 1 result from an estimated 1 matches for "status_name_does_not_equal_any".

2010 Apr 07
3
Recommendation for searching with regards to timestamp & foreign key attributes
...tatus of ''published'' or ''archived''. I would just make use of searchlogic in the following way: new_blog_entries = Blog.searchlogic(:status_name_does_not_equal_all => ([''published'', ''archived'']) ) OR new_blog_entries = Blog.status_name_does_not_equal_any([''published'', ''archived'']) Question: ======== Suppose I now want to get blog entries which 1) have been created within the last 24 hours 2) have a status other than published and archived. Any recommendations for doing this? I couldn''t quite work ou...