<     May 2017     >
Su Mo Tu We Th Fr Sa  
    1  2  3  4  5  6  
 7  8  9 10 11 12 13  
14 15 16 17 18 19 20  
21 22 23 24 25 26 27  
28 29 30 31
00:18 banditron joined
00:46 deric_skibotn joined
00:47 <deric_skibotn> I've got 3 linked tables, like so: a:{ id, b_id } ; b: { id, c_id }; c: {id, final_name}. I want to do a query finding all a's that point to c where c.final_name == some name, and I want access to a.id at the end. Easy way to do this?
00:49 <deric_skibotn> I'm doing `A.join(:b, id: :b_id).join(c:, id: c_id).where(name: "some name").distinct` and I get the C objects, but A.id is lost. Can I do this in sequel without diving in to raw sql?
05:14 glennpratt joined
05:15 glennpratt joined
07:35 dreinull joined
09:04 claw joined
12:51 banditron joined
13:00 GitHub118 joined
13:00 <GitHub118> [13sequel] 15perlun opened pull request #1356: Handle PG::UndefinedTable exceptions (06master...06patch-1) 02https://git.io/v99za
13:00 GitHub118 left
13:24 GitHub156 joined
13:24 <GitHub156> [13sequel] 15perlun opened pull request #1357: SchemaGenerator#column: Added error handling if invalid opts are passed in (06master...06patch-3) 02https://git.io/v99aZ
13:24 GitHub156 left
14:18 glennpratt joined
16:10 tercenya joined
16:39 tercenya joined
18:20 Renich joined
18:42 tercenya joined
20:36 AYGHOR joined
20:36 <AYGHOR> EHLO
20:48 tercenya joined
21:03 tercenya joined
21:43 tercenya joined