before_filter ist eher ungut weil's ja vorkommen kann dass du's
doch nicht brauchst.
Also lieber einen helper oder noch besser named_scope.
ciao, tom
Am 24.09.2008 um 14:04 schrieb Werner Laude:
Hallo.
Möchte ein Model abfragen und für alle Seiten verfügbar machen..
Wie ist das am saubersten zu realisieren?
Denke, sehr untrocken in jeden Controller die Abfrage
reinzuschreiben..
--
Thomas R. "TomK32" Koll || http://tomk32.de || http://ananasblau.com
just a geek trying to change the world
Skype: TomK32 || Mail: [EMAIL PROTECTED]
http://beta.lomography.com/homes/TomK32
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug