Forum: Rails Germany many to many select

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Werner L. (Guest)
on 2009-03-27 14:25
(Received via mailing list)
Bei einer
has and belongs to many
Listenansicht möchte ich gerne
bei der db Abfrage select verwenden um nur die relevanten Daten zu

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?


Werner L.
Lindenburger Allee 22  -  50931
0221.8805 635


This topic is locked and can not be replied to.