<%= select_tag(:status_id, options_for_select(Status.find(:all, :order => "name", :conditions => "logged is true").map { |s| [ s.name, s.id]}),{:include_blank => false})%> <%= observe_field(:status_id, :frequency => 0.5, :url => { :controller => "user", :action => "update_status" }, :with => "status_id") %>