Text_field_with_auto_complete broken in firefox?

I am seeing a problem with text_field_with_auto_complete in which the
does not get populated with the selected value, but only in firefox
Works in IE just fine. I have a super-simple mockup that shows this
below. Can anyone please confirm for me that this does/does not work in
firefox or point out my mistake? I’m wondering if I need to submit a
The example seems really simple…


filename: testpage.htm

<%= javascript_include_tag :defaults %> <%= text_field_with_auto_complete :owner, :company_name , {:size => 15}, {:skip_style => true} %>

def auto_complete_for_owner_company_name
@owners = []
@owners << “owner1”
@owners << “owner2”
render :partial => ‘owners’

def testpage
render :layout=>false


    <% for owner in @owners do -%>
  • owner
  • <% end -%>

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs