Aprovecho para corregirme, según este thread:

http://railsforum.com/viewtopic.php?id=19524

Al poner un :include y una condición sobre la tabla "detalle", rails
hace un join como hacía antiguamente.

Saludos. Lucas.
_______________________________________________
Ruby mailing list
[email protected]
http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar

Responder a