Displaying 3 results from an estimated 3 matches for "published_on".
Did you mean:
published_at
2006 Jul 26
2
text_field and date_select in collection
....
a record contains a text_area (e.g. a description of the book) and a
date_select (e.g. when the book was published).
<% for @book in @author.books %>
<%= text_area ''book[]'', ''note'' %>
<%= datetime_select ''book[]'', ''published_on'' %>
<% end %>
the text_field works nice, the generated code looks like:
<textarea cols="40" id="book_12_desc" name="book[12][desc]">foo</textarea>
the ID of a book record is there.
BUT i do not know, how to achieve this with the da...
2007 Sep 11
2
How to search with range when I am using AAF
acts_as_ferret :fields => {
:name => {:},
:desc => {},
:start_date => {}
}
def start_date
self.start_datetime.strftime("%Y%m%d")
end
Now that I am strong start_date in YYYYMMDD format, I want to search for
all event in between 20070506 and 20070809
What will my query look like when I am using aaf. This one doesn''t work
2007 Aug 20
2
can''t stop stop_words
I have looked at the documentation and done some searching, but I can''t
seem to stop the STOP_WORDS from cutting out common words. I am using
acts_as_ferret and I have add the following to my code:
STOP_WORDS = []
acts_as_ferret({ :fields => { :name => { :boost
=> 10 },
:project_client_company_id => { :boost
=> 0