<    March 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  
_2_6 27 28 29 30 31
00:03 scratchcat joined
00:32 scratchcat left
01:22 filterfish joined
02:06 mwlang joined
02:17 mwlang joined
02:30 mwlang joined
04:08 Yzguy joined
05:02 glennpratt joined
06:17 aidalgol joined
07:39 ta_ joined
08:12 mwlang joined
08:36 mwlang joined
08:56 glennpratt joined
09:06 GitHub12 joined
09:06 <GitHub12> [13sequel] 15samuel02 opened pull request #1315: Add Oracle-support to ODBC (06master...06master) 02https://git.io/vy8BY
09:06 GitHub12 left
09:35 ta_ joined
09:45 ta_ joined
09:51 glennpratt joined
10:45 glennpratt joined
11:39 glennpratt joined
12:04 filterfish joined
12:33 glennpratt joined
13:27 glennpratt joined
14:21 glennpratt joined
14:57 glennpratt joined
14:58 glennpra_ joined
15:27 GitHub74 joined
15:27 <GitHub74> [13sequel] 15jeremyevans commented on issue #1315: Thanks for the patch. This looks good, I'll merge soon. 02https://git.io/vy430
15:27 GitHub74 left
15:29 GitHub36 joined
15:29 <GitHub36> [13sequel] 15jeremyevans pushed 2 new commits to 06master: 02https://git.io/vy43D
15:29 <GitHub36> 13sequel/06master 14147ca0b 15Samuel Nilsson: Add oracle to odbc
15:29 <GitHub36> 13sequel/06master 14e0d6ddf 15Jeremy Evans: Update CHANGELOG
15:29 GitHub36 left
15:29 GitHub109 joined
15:29 <GitHub109> [13sequel] 15jeremyevans closed pull request #1315: Add Oracle-support to ODBC (06master...06master) 02https://git.io/vy8BY
15:29 GitHub109 left
15:33 banditro_ joined
15:50 mwlang joined
15:53 tercenya joined
18:01 glennpratt joined
19:09 mwlang joined
19:11 ta_ joined
19:29 <mmun> If you've already got an array of models, is there a way to preload an association across all of them?
19:34 <mmun> with ActiveRecord you've got ActiveRecord::Associations::Preloader.new.preload(records, association)
19:34 <jeremyevans> mmun: Not really. You could try using the tactical_eager_loading plugin though
19:35 <jeremyevans> mmun: In sequel, eager loading requires access to the dataset that did the original loading
19:35 <mmun> ah I understand
19:37 <mmun> jeremyevans: out of curiosity, do you use that plugin?
19:39 <mmun> the code for it is so short but it works like magic :D
19:43 <jeremyevans> mmun: On some of my sites, I do
19:53 glennpratt joined
19:54 GitHub52 joined
19:54 <GitHub52> [13sequel] 15jeremyevans pushed 1 new commit to 06master: 02https://git.io/vyBez
19:54 <GitHub52> 13sequel/06master 14aa2f622 15Jeremy Evans: Literalize SQLTime instances with only three fractional digits in jdbc/postgresql...
19:54 GitHub52 left
20:13 glennpratt joined
20:41 glennpratt joined
20:42 filterfish joined
20:59 GitHub117 joined
20:59 <GitHub117> [13sequel] 15jeremyevans pushed 1 new commit to 06master: 02https://git.io/vyBOL
20:59 <GitHub117> 13sequel/06master 14301b581 15Jeremy Evans: Test with JRuby 9.1.8.0 on Travis
20:59 GitHub117 left
21:18 glennpratt joined
21:19 mwlang joined
21:40 mwlang joined
21:47 <adam12> jeremyevans: Is there a typical list of plugins you use for the majority of your sites?
21:48 <jeremyevans> adam12: Not really, it varies a lot on a per-app basis. I think I tend to use auto_validations in almost all of my apps, and I've started using subclasses in almost all of them after the addition of freeze_descendents
21:48 <adam12> jeremyevans: happen to have an example of the last one? I can't say I've seen that beofre
21:49 <adam12> I figured' it was fairly custom. Some plugins are over my head at this point, so I am not sure if that's a good thing or I am missing out.
21:49 <adam12> Ie. I stole the prepared statements one from the roda-sequel-stack repo, as I doubt I would of added them to my project without seeing them used in practice.
21:51 <jeremyevans> adam12: I updated roda-sequel-stack with the use of subclasses https://github.com/jeremyevans/roda-sequel-stack
21:52 <adam12> jeremyevans: Thanks. I'll check it out.
22:48 <Rennex> woah. i just found out that editing the Hash from Model#to_hash also changes the model... :x
22:49 <jeremyevans> Rennex: That is documented: http://sequel.jeremyevans.net/rdoc/classes/Sequel/Model/InstanceMethods.html
22:50 <Rennex> i see
22:50 <Rennex> that example is a copy of the values example btw :)
22:50 <Rennex> oh, i guess they're the same method
22:51 <jeremyevans> Rennex: Yes, that's how RDoc handles it
22:51 <jeremyevans> Rennex: I think it would make sense for RDoc to just show "alias of values" instead
22:51 <Rennex> yeah