<  February 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
05:51 jeremyevans joined
07:55 ta joined
08:24 aidalgol joined
08:36 Morrolan joined
08:38 Morrolan joined
08:58 OskarCalvo joined
09:13 <Bish> https://gist.github.com/anonymous/a06350413db6307006bab9fb0afb926e this was one of the problems i was having with composite primary keys
09:13 <Bish> i fixed it by overloading the dataset method, but i feel like this yields weird results & is not what one would expect
09:14 <Bish> and sorry for indentation
09:37 <Bish> https://github.com/jeremyevans/sequel/blob/master/lib/sequel/model/base.rb#L2453 guess because of that line
13:28 <Bish> well, guess i was supposed to use .with_pk there, but still this caught be offguard
15:55 <jeremyevans> Bish: It's expected that Dataset#[] for a model dataset only does a primary key lookup if given an integer,
15:56 <jeremyevans> Bish: so you are correct that you should use Dataset#with_pk
16:04 <Bish> but got it all working now ;)
16:47 lopex joined
17:18 AYGHOR joined
17:19 AYGHOR joined
19:52 nirvdrum joined
19:56 ta joined
19:57 ta__ joined
21:10 ta joined
21:11 ta joined