Am 04.06.2008 um 10:50 schrieb Rene P.:
Im php würde ich das mit einer for-schleife und einem counter machen nur
wie mache ich das hier.
im show.html.erb kann ich ja keine schleife bauen also wird das ja im
controller gemacht oder?

Dort habe ich das def show gefunden.
Nur wie mache ich dort eine Schleife wo ich sagen kann nimm drei Bilder
und dann kommt die nächste Zeile?

Wörterbuch hilft: cycle

ciao, tom

--
Thomas R. "TomK32" Koll || http://tomk32.de || http://ananasblau.com
just a geek trying to change the world
Skype: TomK32 || Mail: [EMAIL PROTECTED]

_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug

Antwort per Email an