hello, just stuck with the following problem: in my view a select updates with an observer a variable in the controller. works fine. --- <%= select(''filter'', ''rolle'', Rolle.auswahl_systemrollen) %> <%= observe_field :filter_rolle, :url => {:action => "update_pers_rolle"}, :with => ''filter_rolle'' %> --- this is my controller action --- def update_pers_rolle @persRolle = params[:filter_rolle] render :nothing => true logger.info <http://logger.info> "Log: update => " + @persRolle end --- everything works like expected. but if i try to use the @persRolle variable in my autocomplete function for the "corresponding" autocomplete textfield, @persRolle is always nil. --- def auto_complete_for_person_name logger.info <http://logger.info> "Log: auto_complete => " + @persRolle.inspect <-- always nil end --- the select is an filter for the autocomplete query. so i need the value in my query. i''m a bit confused or just mind blocked. often it helps just to talk about... ;) what am i missing? regards --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---