Moinsen Werner,
probiere es mal ohne <%=
<%- for pic in @pictures %>
<%=pic%>
<%- end %>
Am 02.09.07 schrieb Werner Laude <[EMAIL PROTECTED]>:
>
> Brauche mal wieder etwas Unterstützung.
> Leider finde ich keine passenden snippets.
>
> bisher:
> im Controller..
> pic = File.join("**", "images/deko", "*.jpg")
> @pictures = Dir.glob(pic)
>
> und um überhaupt erst mal ..
>
> <%= for pic in @pictures %>
> <%=pic%>
> <%end%>
>
> ergibt Fehler.. damit kann ich nichts anfangen:
> syntax error, unexpected ')', expecting kDO_COND or ':' or '\n' or ';'
> _erbout.concat(( for pic in @pictures ).to_s); _erbout.concat "\n"
>
> Gruß Werner
>
> --
>
> Werner Laude
> Lindenburger Allee 22 | 50931 Köln
>
> 0221.8805 635
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> http://www.webagentur-laude.de
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> _______________________________________________
> rubyonrails-ug mailing list
> [email protected]
> http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug
>
>
--
Jan Prill
Rechtsanwalt
Grünebergstraße 38
22763 Hamburg
Tel +49 (0)40 41265809 Fax +49 (0)40 380178-73022
Mobil +49 (0)171 3516667
http://www.inviado.de
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug