<%= @seminar.therapists.collect(&:name).join(' und ') %> collect, oder select musst Du mal probieren. Das vertüddel ich immer wieder ;)
Thomas von Deyen mobile +49 (0)179 492 3992 mail tho...@vondeyen.com web thomas.vondeyen.com twitter twitter.com/tvdeyen Save the environment: Before printing this email, please assess if it is really needed! Am 09.12.2010 um 13:01 schrieb Werner Laude: > Hallo - wieder mal ein Frage von mir.. ;-) > > <% @seminar.therapists.each do |therapist| %> > > <%=therapist.name %> > > <% end %> > > Möchte zwischen den Namen ein 'und' oder Komma/Strich, aber eben nicht nach > dem letzten Eintrag. > > Hat da jemand etwas Code oder einen link? > > > > Werner Laude > http://www.webagentur-laude.de > > > > > > _______________________________________________ > rubyonrails-ug mailing list > rubyonrails-ug@headflash.com > http://mailman.headflash.com/listinfo/rubyonrails-ug
_______________________________________________ rubyonrails-ug mailing list rubyonrails-ug@headflash.com http://mailman.headflash.com/listinfo/rubyonrails-ug