Bei einer has and belongs to many Listenansicht möchte ich gerne bei der db Abfrage select verwenden um nur die relevanten Daten zu laden. Bisher habe ich: named_scope :seminars, :conditions=>["category_id =?", 2], :select => ' title, start, name', :order => 'start' Ich benötige aber noch Daten aus der join tabelle. Wie kann ich das in das select statement einbauen? Gruß+Danke Werner Laude Lindenburger Allee 22 - 50931 Köln 0221.8805 635 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://www.webagentur-laude.de ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
on 2009-03-27 13:25
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.