Hi, Will Bryant writes:
> But unfortunately it is also supported for SQL strings
>
> Document.joins("JOIN tableA ON foo", "JOIN tableB on bar")
Why not keep with the array syntax used in other places?
Document.joins(["JOIN tableA ON foo = ?", myvar], "JOIN tableB on bar")
We support such syntax in other places as well.
Regards,
--
Christian Kruse
http://ck.kennt-wayne.de/
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature
