search for: new_blog_entri

Displaying 2 results from an estimated 2 matches for "new_blog_entri".

Did you mean: new_blog_entry
2010 Apr 07
3
Recommendation for searching with regards to timestamp & foreign key attributes
...=> { :created_at => (Time.now - 24.hours) .. (Time.now) } ) Tested and that works just fine. Suppose I would like to get all blog entries which are not of the status 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...
2009 Feb 22
8
dynamically changing a form from POST/CREATE to PUT/UPDATE
For the life of me I can''t figure this one out, although I can''t find anyone else who''s attempted to do this, and probably with good reason. Context: blog using AJAX What I''m trying to do: when the user initially saves a blog entry, or when auto-saving, I want subsequent saves to not create a new blog entry Why I can''t just reload the partial: -