Wednesday, July 25, 2012

Re: [Rails] rails scope without raw sql

On Jul 25, 2012, at 6:38 PM, Hassan Schroeder wrote:

> Untested, but PG is annoyingly (IMO) idiosyncratic at times.

There is absolutely nothing "idiosyncratic" about a string in double quotes being treated as a column name--it is the SQL standard. If MySQL does not do this, then (as usual when you find a difference between MySQL and PostgreSQL), MySQL is non-compliant.

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate