rubyonrails...@galt.de wrote:

User.country_id_equals(params[:country_id])

Die Auswahl der ersten, leeren Option führt dazu, daß garkeine Nutzer angezeigt 
werden.

Vielleicht kann mir ja jemand auf die Sprünge helfen.


Sollte das statt country_id_equals nicht so heißen?

User.find_by_country_id(params[:country_id]) unless params[:country_id].blank?


ciao, tom

--
Thomas R. Koll - Ruby on Rails Webdeveloper
http://photostre.am | http://ananasblau.com | http://github.com/TomK32
_______________________________________________
rubyonrails-ug mailing list
rubyonrails-ug@headflash.com
http://mailman.headflash.com/listinfo/rubyonrails-ug

Antwort per Email an