SFRuby Hack Nights
Named scopes and includes
A pivot noted that, after an association was loaded via
:include, application of a named scope to the association will result in a new query.
The moral- sometimes an
:include is less efficient than loading the association separately. Mind your logs.
A pivot remarked on the existence of WADL, a sort-of SOAP-less version of WSDL, where you can describe a REST API in XML for machine consumption.
It’s 100% less
SOAPy, but still just as