Displaying 2 results from an estimated 2 matches for "auto_complete_for_post_title".
2006 May 21
0
text_field_with_auto_complete in Internet Explorer
Hi,
I''m trying to implement a search feature on my blog:
http://not.justco.de.
It works nicely in Firefox and Safari, but not in Internet Explorer.
This is the code in my _search.rhtml:
<%= text_field_with_auto_complete :post, :title %>
This is in the controller:
def auto_complete_for_post_title
@results = Post.find(:all, :conditions => [ ''LOWER(title) LIKE ?'',''%''
+ params[:post][:title].downcase + ''%'' ], :order => ''title ASC'',
:limit => 20)
render :partial => ''results''
end
Also I...
2006 Jun 21
3
Is this a weird bug with auto_complete?
I think I may have found a bug with the auto_complete feature in rails:
My controller has a before_filter with an except clause preventing the
filter from running on a specific action. The action renders a view with
a text_field_with_auto_complete field. Much to my suprise, the filter
appears to run when I type data into this field! The filter is part of
my security regime, so I end up with a