Am 12.01.2008 um 18:25 schrieb Heinz Strunk:

Falls es so sein sollte, in Models wird ja bei z.b. has_many nur die
Tabelle angeben und automatisch news_id als Fremdschlüssel genommen. Wie kann ich dem Model sagen, dass er in dem Fall 'key' als Schlüssel nehmen
soll?

steht alles in der doku
:foreign_key

--
Thomas R. "TomK32" Koll || http://tomk32.de || http://ananasblau.com (NEW)
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