@tenderlove Are there any example PR's where this happens to your knowledge?
-
-
Replying to @krainboltgreene
@krainboltgreene no. I don’t think we put anything that’s database specific on Relation. Only on the db connection /@sgrif1 reply 0 retweets 0 likes -
Replying to @tenderlove
@tenderlove@sgrif :( Arel has support for DISTINCT ON(), but AR doesn't support it.1 reply 0 retweets 0 likes -
Replying to @krainboltgreene
@krainboltgreene You can always pass a string to select@tenderlove2 replies 0 retweets 0 likes -
Replying to @sgrif
@sgrif@tenderlove Example: SELECT COUNT(DISTINCT ON("room_briefs"."contest_id") "entries".*) FROM Entries.select("DISTINCT ON(...)").count1 reply 0 retweets 0 likes -
Replying to @krainboltgreene
@krainboltgreene yeah you'll just need to use .execute at that point@tenderlove2 replies 0 retweets 0 likes
-
-
Replying to @krainboltgreene
@krainboltgreene Public visibility != public API1 reply 0 retweets 0 likes - 1 more reply
New conversation
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.