[Rails] Re: :after_update_element and text_field_with_auto_complete

2009-01-08 Thread Peter Jeppesen
Peter Jeppesen wrote: > Am I totally misunderstanding something here or... > Please help! - I'm really stuck on this! OK finally I got it sorted out. After a minor bugfix in my javascript, params[:selected_company_name] did the trick. Amazing and smooth... - I just love Ra

[Rails] Re: :after_update_element and text_field_with_auto_complete

2009-01-07 Thread Peter Jeppesen
Am I totally misunderstanding something here or... Please help! - I'm really stuck on this! -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To p

[Rails] :after_update_element and text_field_with_auto_complete

2009-01-06 Thread Peter Jeppesen
Hi! I'm on Rails 2.2.2 and using text_field_with_auto_complete which works fine. Now I want to use :after_update_element to send some data back to the server when my text field is updated. I have the following code in my view: <%= text_field_with_auto_complete :company, :name, {}, {:after

[Rails] Re: problem with auto_complete!!

2008-10-03 Thread Peter Jeppesen
Juan Moreno wrote: > Hello!!! > > first of all sorry for my English! :-( > >Well I'm trying to make an auto_complete in my application, but it's > getting hard to do it. This is all what I've done: > > 1.I'm working with rails 2.1 and Postgres > 2.My model name is: Alumno > 3.My record

[Rails] Using text_field_with_auto_complete with afterUpdateElement

2008-10-03 Thread Peter Jeppesen
Hello everybody! I'm fairly new to RoR (Rails ver 1.2.6) but have managed to get the 'text_field_with_auto_complete' working alright in my application. Next step is to be able to synchronize 2 (or more) 'text_field_with_auto_complete' fields so that the users selection in the first field immedia