« Back to channel list

#ruby - 28 January 2018

« Back 1 day
[00:01:02] orbyt_: has joined #ruby
[00:02:43] dogweather: has joined #ruby
[00:05:10] jkprg: has joined #ruby
[00:13:26] raynold: ahh it's a wonderful day
[00:23:40] vutral|kali: has joined #ruby
[00:23:40] vutral|kali: has joined #ruby
[00:24:02] matled-: has joined #ruby
[00:27:52] Guest90: has joined #ruby
[00:31:38] Thaelim: has joined #ruby
[00:33:04] workmad3: has joined #ruby
[00:36:31] darix: has left #ruby: ("All rights reversed")
[00:41:53] nicesignal: has joined #ruby
[00:42:01] mtkd: has joined #ruby
[00:49:03] bronson: has joined #ruby
[00:50:24] jottr_: has joined #ruby
[01:02:20] nso95: has joined #ruby
[01:09:40] thejamespinto: has joined #ruby
[01:13:12] _aeris_: has joined #ruby
[01:22:38] matled-: has joined #ruby
[01:29:37] Thaelim: has joined #ruby
[01:32:17] cgfbee: has joined #ruby
[01:35:10] tAn: has joined #ruby
[01:40:50] apparition: has joined #ruby
[01:41:58] GodFather: has joined #ruby
[01:42:13] Guest90: has joined #ruby
[01:46:17] dstrunk: has joined #ruby
[01:47:25] Ishido: has joined #ruby
[01:48:51] GodFather: has joined #ruby
[01:50:28] bronson: has joined #ruby
[01:51:56] ledestin: has joined #ruby
[02:11:10] jottr: has joined #ruby
[02:14:48] k0mpa: has joined #ruby
[02:17:22] dstrunk: has joined #ruby
[02:18:08] tAn: has joined #ruby
[02:18:27] segy: has joined #ruby
[02:23:40] jottr: has joined #ruby
[02:31:17] jetpack_joe: has joined #ruby
[02:32:45] cdg: has joined #ruby
[02:33:58] workmad3: has joined #ruby
[02:36:30] Thaelim: has joined #ruby
[02:38:35] gizmore|2: has joined #ruby
[02:47:09] mtkd: has joined #ruby
[02:51:03] bronson: has joined #ruby
[02:54:17] dogweather: has joined #ruby
[02:59:53] jrp93: has joined #ruby
[03:03:26] Guest90: has joined #ruby
[03:10:21] cagomez: has joined #ruby
[03:12:13] statelesscode: has joined #ruby
[03:15:29] dviola: has joined #ruby
[03:35:11] TheBrayn: has joined #ruby
[03:43:07] sanscoeur: has joined #ruby
[03:44:07] rrutkowski: has joined #ruby
[03:45:16] Guest90: has joined #ruby
[03:46:20] oleo: has joined #ruby
[03:52:13] bronson: has joined #ruby
[03:52:28] minimalism: has joined #ruby
[03:55:10] shinnya: has joined #ruby
[04:09:52] _aeris_: has joined #ruby
[04:11:15] nikivi-: has joined #ruby
[04:15:13] _whitelogger: has joined #ruby
[04:16:28] justinfaler1: has joined #ruby
[04:25:15] trautwein: has joined #ruby
[04:26:21] govg: has joined #ruby
[04:29:53] gix: has joined #ruby
[04:32:02] AJA4350: has joined #ruby
[04:34:36] drewmcmillan: has joined #ruby
[04:41:37] nikivi: has joined #ruby
[04:42:25] eckhardt: has joined #ruby
[04:43:14] TinkerTyper: has joined #ruby
[04:52:11] mtkd: has joined #ruby
[04:52:54] bronson: has joined #ruby
[05:06:49] alfiemax: has joined #ruby
[05:11:52] alfiemax_: has joined #ruby
[05:11:59] justinfaler2: has joined #ruby
[05:12:48] ramortegui: has joined #ruby
[05:25:04] alfiemax: has joined #ruby
[05:26:32] darkhanb: has joined #ruby
[05:42:15] alfiemax: has joined #ruby
[05:50:59] segy: has joined #ruby
[05:53:32] bronson: has joined #ruby
[05:57:41] cdg: has joined #ruby
[06:12:43] kapil___: has joined #ruby
[06:15:24] dtzuzu: has joined #ruby
[06:18:42] rabajaj: has joined #ruby
[06:18:43] chester`: has joined #ruby
[06:19:48] naprimer3: has joined #ruby
[06:35:31] workmad3: has joined #ruby
[06:46:03] nso95: has joined #ruby
[06:52:09] kitallis: has left #ruby: ("going, bye")
[06:54:36] bronson: has joined #ruby
[06:55:21] senaa: has joined #ruby
[06:56:18] senaa: has left #ruby: ()
[06:59:05] yokel: has joined #ruby
[07:02:17] thinkpad: has joined #ruby
[07:09:06] jnyw: has joined #ruby
[07:14:07] nofxx: has joined #ruby
[07:15:32] thinkpad: has joined #ruby
[07:25:22] darkhanb: has joined #ruby
[07:25:37] cschneid: has joined #ruby
[07:29:44] thinkpad: has joined #ruby
[07:32:56] Yzguy: has joined #ruby
[07:34:59] careta: has joined #ruby
[07:35:32] nofxx: has joined #ruby
[07:36:19] thinkpad: has joined #ruby
[07:39:03] justinfaler2: has joined #ruby
[07:43:19] rippa: has joined #ruby
[07:44:54] dogweather: has joined #ruby
[07:50:49] biberu: has joined #ruby
[07:54:14] jtdoncas_: has joined #ruby
[07:55:43] bronson: has joined #ruby
[08:17:56] justinfaler2: has joined #ruby
[08:19:10] kies: has joined #ruby
[08:20:20] dionysus69: has joined #ruby
[08:26:41] reber: has joined #ruby
[08:31:34] jenrzzz: has joined #ruby
[08:31:34] jenrzzz: has joined #ruby
[08:36:20] workmad3: has joined #ruby
[08:39:48] mtkd: has joined #ruby
[08:42:45] Ishido: has joined #ruby
[08:45:10] InfinityFye: has joined #ruby
[08:47:53] jtdoncas_: has joined #ruby
[08:51:53] careta: has joined #ruby
[08:53:24] flak: has joined #ruby
[08:54:09] facest: has joined #ruby
[08:54:21] reber__: has joined #ruby
[08:56:05] Ishido: has joined #ruby
[08:56:25] bronson: has joined #ruby
[08:57:00] oleo: has joined #ruby
[08:57:32] ikopico: has joined #ruby
[08:58:05] rcs: has joined #ruby
[08:59:51] za1b1tsu: has joined #ruby
[09:00:31] justinfaler2: has joined #ruby
[09:00:31] shoogz: has joined #ruby
[09:01:00] thejamespinto: has joined #ruby
[09:01:40] yxhuvud: has joined #ruby
[09:01:57] jenrzzz: has joined #ruby
[09:01:57] jenrzzz: has joined #ruby
[09:02:27] ammar: has joined #ruby
[09:02:33] Junaos: has joined #ruby
[09:02:34] Bish: has joined #ruby
[09:02:55] mkaito: has joined #ruby
[09:03:11] russt: has joined #ruby
[09:04:11] bmn: has joined #ruby
[09:04:19] iceden: has joined #ruby
[09:05:01] cpallares: has joined #ruby
[09:09:28] cgfbee: has joined #ruby
[09:18:42] marr: has joined #ruby
[09:18:50] kapil___: has joined #ruby
[09:29:48] claudiuinberlin: has joined #ruby
[09:34:42] alfiemax_: has joined #ruby
[09:35:59] vondruch: has joined #ruby
[09:37:12] sameerynho: has joined #ruby
[09:37:26] shinnya: has joined #ruby
[09:40:38] vondruch: has joined #ruby
[09:43:43] justinfaler2: has joined #ruby
[09:43:46] matcouto: has joined #ruby
[09:47:44] jtdoncas_: has joined #ruby
[09:51:54] TomyLobo: has joined #ruby
[09:57:19] bronson: has joined #ruby
[10:11:45] apparition: has joined #ruby
[10:13:39] amatas: has joined #ruby
[10:16:54] Ishido: has joined #ruby
[10:28:35] justinfaler2: has joined #ruby
[10:38:04] jenrzzz: has joined #ruby
[10:38:04] jenrzzz: has joined #ruby
[10:42:10] alex``: has joined #ruby
[10:47:59] segy: has joined #ruby
[10:48:46] randomstrangerb: has joined #ruby
[10:51:37] dinfuehr: has joined #ruby
[10:55:29] jtdoncas_: has joined #ruby
[10:55:30] apparition: has joined #ruby
[10:58:03] bronson: has joined #ruby
[10:59:23] jenrzzz: has joined #ruby
[10:59:23] jenrzzz: has joined #ruby
[11:11:05] justinfaler2: has joined #ruby
[11:17:02] jnyw: has joined #ruby
[11:23:52] jenrzzz: has joined #ruby
[11:26:33] Ishido: has joined #ruby
[11:28:55] desperek: has joined #ruby
[11:35:37] vondruch: has joined #ruby
[11:39:17] thinkpad: has joined #ruby
[11:39:59] dinfuehr: has joined #ruby
[11:40:37] Ishido: has joined #ruby
[11:40:39] vondruch: has joined #ruby
[11:47:29] jtdoncas_: has joined #ruby
[11:50:46] tao_: has joined #ruby
[11:52:15] justinfaler2: has joined #ruby
[11:54:14] jenrzzz: has joined #ruby
[11:54:14] jenrzzz: has joined #ruby
[11:57:38] Guest90: has joined #ruby
[11:59:02] bronson: has joined #ruby
[12:03:55] jenrzzz: has joined #ruby
[12:09:20] jenrzzz: has joined #ruby
[12:09:20] jenrzzz: has joined #ruby
[12:15:05] dinfuehr: has joined #ruby
[12:16:01] zigzig: has joined #ruby
[12:21:09] tomphp: has joined #ruby
[12:27:51] jenrzzz: has joined #ruby
[12:30:57] vichib: has joined #ruby
[12:36:32] justinfaler2: has joined #ruby
[12:37:57] workmad3: has joined #ruby
[12:47:39] jtdoncas_: has joined #ruby
[12:48:11] minimalism: has joined #ruby
[12:57:39] conta: has joined #ruby
[12:58:30] mtkd: has joined #ruby
[12:59:52] bronson: has joined #ruby
[13:00:06] Psybur__: has joined #ruby
[13:04:22] mnms_: has joined #ruby
[13:04:27] jottr: has joined #ruby
[13:04:49] jenrzzz: has joined #ruby
[13:06:02] jottr_: has joined #ruby
[13:07:02] gloscombe: has joined #ruby
[13:12:47] rabajaj: has joined #ruby
[13:14:02] justinfaler2: has joined #ruby
[13:26:30] selim: has joined #ruby
[13:36:11] _whitelogger: has joined #ruby
[13:38:48] ltem: has joined #ruby
[13:39:35] jottr_: has joined #ruby
[13:39:37] leah2: has joined #ruby
[13:40:35] InfinityFye: has joined #ruby
[13:42:41] Ishido: has joined #ruby
[13:42:47] alfiemax: has joined #ruby
[13:45:05] jottr: has joined #ruby
[13:47:41] Psybur_: has joined #ruby
[13:51:36] InfinityFye: has joined #ruby
[13:51:50] drewmcmillan: has joined #ruby
[13:53:41] justinfaler2: has joined #ruby
[13:53:54] AJA4350: has joined #ruby
[13:53:58] leah2: has joined #ruby
[13:55:10] zigzig: has joined #ruby
[13:56:01] jtdoncas_: has joined #ruby
[13:56:10] WhereIsMySpoon: has joined #ruby
[13:56:18] RougeRR: has joined #ruby
[14:00:31] tvw: has joined #ruby
[14:01:01] bronson: has joined #ruby
[14:03:51] rrutkowski: has joined #ruby
[14:04:09] dinfuehr: has joined #ruby
[14:05:41] rrutkowski: has joined #ruby
[14:06:51] jottr_: has joined #ruby
[14:06:58] rrutkowski: has joined #ruby
[14:08:37] rrutkowski: has joined #ruby
[14:12:52] dogweather: has joined #ruby
[14:13:08] ledestin: has joined #ruby
[14:16:50] reber: has joined #ruby
[14:18:02] ltem: has joined #ruby
[14:18:52] conta: has joined #ruby
[14:19:51] garryRhodes: has joined #ruby
[14:20:51] reber: has joined #ruby
[14:22:22] marr: has joined #ruby
[14:23:37] brodul: has joined #ruby
[14:24:27] cpallares: has joined #ruby
[14:24:47] ammar: has joined #ruby
[14:27:08] jrp93: has joined #ruby
[14:29:23] Ishido: has joined #ruby
[14:30:26] dogweather: has joined #ruby
[14:30:37] cgfbee: has joined #ruby
[14:32:21] drewmcmillan: has joined #ruby
[14:35:14] mjolnird: has joined #ruby
[14:36:20] greister_: has joined #ruby
[14:36:47] drewmcmillan: has joined #ruby
[14:36:50] justinfaler2: has joined #ruby
[14:36:58] thinkpad: has joined #ruby
[14:38:47] workmad3: has joined #ruby
[14:40:32] guille-moe: has joined #ruby
[14:41:24] mtkd: has joined #ruby
[14:43:59] RougeR: has joined #ruby
[14:44:02] Psybur: has joined #ruby
[14:44:09] RougeR: has joined #ruby
[14:44:40] RougeR: has joined #ruby
[14:48:26] jtdoncas_: has joined #ruby
[14:49:20] mikecmpbll: has joined #ruby
[14:50:05] ldepandis: has joined #ruby
[14:51:16] dogweather: has joined #ruby
[14:57:16] dstrunk: has joined #ruby
[15:01:46] bronson: has joined #ruby
[15:01:47] cdg: has joined #ruby
[15:03:28] cdg: has joined #ruby
[15:11:50] jenrzzz: has joined #ruby
[15:13:42] veduardo: has joined #ruby
[15:18:08] apeiros: has joined #ruby
[15:19:34] pastorinni: has joined #ruby
[15:21:45] justinfaler2: has joined #ruby
[15:25:00] BuildTheRobots: has joined #ruby
[15:29:59] dogweather: has joined #ruby
[15:33:27] alpine: hey whats the best gem for querying rest api over ssl
[15:41:22] jeffreylevesque: has joined #ruby
[15:41:48] dinfuehr: has joined #ruby
[15:42:59] AJA4351: has joined #ruby
[15:48:01] jtdoncas_: has joined #ruby
[15:49:02] Ishido: has joined #ruby
[15:50:33] pastorin_: has joined #ruby
[15:51:12] Psybur_: has joined #ruby
[15:52:25] cdg: has joined #ruby
[15:56:02] claudiuinberlin: has joined #ruby
[15:58:55] rrutkowski: has joined #ruby
[15:58:56] dextrey: has joined #ruby
[15:59:27] jrp93: has joined #ruby
[15:59:51] justinfaler2: has joined #ruby
[16:01:13] Beams: has joined #ruby
[16:02:45] bronson: has joined #ruby
[16:04:47] cagmz: has joined #ruby
[16:17:25] cagmz: what does this do? `[:a, :b, :c].try(:[], 1)`?
[16:23:47] wnd: Looks like #send syntax. Based on language, my guess is that it's a dangerous monkey patch to Object. I'd imagine it checks presence of given method, and #sends given arguments if present, or return nil or something similar if not.
[16:27:27] tomphp: has joined #ruby
[16:31:20] cagmz: wnd, is it trying to index into the array, `[]` being a method?
[16:33:34] banisterfiend: has joined #ruby
[16:34:26] wnd: your guess is as good as mine, but that's what I'd expect
[16:35:18] Qommand0r: has joined #ruby
[16:36:01] al2o3-cr: cagmz: http://www.rubydoc.info/docs/rails/Object%3Atry
[16:36:19] wnd: mayhaps something like .. class Object; def try(method, *args); respond_to?(method) ? send(method, *args) : nil; end; end
[16:37:14] tomphp: has joined #ruby
[16:37:17] wnd: ah, I should learn to use #public_send when I must (use #send)
[16:37:56] wnd: anyway, sounds like a neat way to sweep your problems under the carpet
[16:38:20] RougeRR: has joined #ruby
[16:38:59] al2o3-cr: in ruby [:a, :b, c:]&.[](1)
[16:39:35] workmad3: has joined #ruby
[16:39:36] justinfaler2: has joined #ruby
[16:40:19] wnd: I hate that safe navigation syntax because regardless when I put the whitespace or not, it looks ugly :-)
[16:40:34] dogweather: has joined #ruby
[16:42:42] stormpack: has joined #ruby
[16:43:23] GotHyper: has joined #ruby
[16:44:13] Dimik: has joined #ruby
[16:44:34] orbyt_: has joined #ruby
[16:44:39] vichib: has joined #ruby
[16:46:41] mtkd: has joined #ruby
[16:54:47] jtdoncas_: has joined #ruby
[16:56:40] Ishido: has joined #ruby
[16:57:09] vichib: has joined #ruby
[16:58:34] cagmz: is there an online REPL with Rails?
[16:58:59] moei: has joined #ruby
[17:01:20] jamesaxl: has joined #ruby
[17:02:00] sparr: has joined #ruby
[17:02:21] drakoz: has joined #ruby
[17:03:40] bronson: has joined #ruby
[17:03:44] vichibit: has joined #ruby
[17:04:54] Beams: has joined #ruby
[17:05:47] jrp93: has joined #ruby
[17:06:07] alfiemax: has joined #ruby
[17:06:56] Asher: has joined #ruby
[17:09:55] apeiros: cagmz: with rails makes little sense. you mean just ruby?
[17:10:42] cagmz: apparently, `try` is part of activesupport . so I was trying to find a way to include it
[17:10:56] DLSteve: has joined #ruby
[17:11:47] apeiros: gem install pry activesupport; pry -ractive_support/all
[17:11:56] leah2: has joined #ruby
[17:13:00] desperek: has joined #ruby
[17:13:49] veduardo: has joined #ruby
[17:15:05] ResidentBiscuit: has joined #ruby
[17:16:05] justinfaler2: has joined #ruby
[17:24:03] apeiros__: has joined #ruby
[17:24:47] dionysus69: has joined #ruby
[17:34:21] d5sx43: has joined #ruby
[17:36:24] Ishido: has joined #ruby
[17:42:07] nowhere_man: has joined #ruby
[17:43:23] ResidentBiscuit: has joined #ruby
[17:47:05] dviola: has joined #ruby
[17:48:37] jenrzzz: has joined #ruby
[17:48:37] jenrzzz: has joined #ruby
[17:50:41] jtdoncas_: has joined #ruby
[17:54:37] justinfaler2: has joined #ruby
[17:59:49] leah2: has joined #ruby
[18:00:54] Psybur__: has joined #ruby
[18:01:35] alfiemax: has joined #ruby
[18:02:07] conta: has joined #ruby
[18:02:45] dstrunk: has joined #ruby
[18:04:04] ldv: has joined #ruby
[18:04:20] bronson: has joined #ruby
[18:06:53] banisterfiend: has joined #ruby
[18:07:18] alfiemax: has joined #ruby
[18:09:48] dogweather: has joined #ruby
[18:12:45] thejamespinto: has joined #ruby
[18:15:10] rrutkowski: has joined #ruby
[18:16:53] randomstrangerb: has joined #ruby
[18:18:20] rrutkowski: has joined #ruby
[18:18:31] plexigras: has joined #ruby
[18:18:34] tomphp: has joined #ruby
[18:19:48] griffindy: has joined #ruby
[18:27:00] plexigras: has joined #ruby
[18:27:03] jrp93: has joined #ruby
[18:27:39] jenrzzz: has joined #ruby
[18:32:34] dionysus69: has joined #ruby
[18:33:10] [spoiler]: has joined #ruby
[18:33:26] heftig: has joined #ruby
[18:36:34] drakko: has joined #ruby
[18:37:45] bmurt: has joined #ruby
[18:40:04] drakoz: has joined #ruby
[18:40:29] workmad3: has joined #ruby
[18:41:30] pastorinni: has joined #ruby
[18:41:52] dogweather: has joined #ruby
[18:43:06] Dimik: has joined #ruby
[18:51:28] mtkd: has joined #ruby
[18:51:42] jtdoncas_: has joined #ruby
[18:52:58] dogweather: has joined #ruby
[18:57:28] ResidentBiscuit: has joined #ruby
[18:58:21] nadir: has joined #ruby
[18:58:36] ResidentBiscuit: has joined #ruby
[18:59:33] Beams: has joined #ruby
[19:01:20] conta: has joined #ruby
[19:01:55] alfiemax_: has joined #ruby
[19:02:19] dogweather: has joined #ruby
[19:04:13] banisterfiend: has joined #ruby
[19:05:02] bronson: has joined #ruby
[19:05:44] randomstrangerb: has joined #ruby
[19:07:15] jenrzzz: has joined #ruby
[19:07:15] jenrzzz: has joined #ruby
[19:09:22] leah2: has joined #ruby
[19:13:36] guille-moe: has joined #ruby
[19:17:14] roshanavand: has joined #ruby
[19:17:14] dogweather: has joined #ruby
[19:18:38] banisterfiend: has joined #ruby
[19:18:51] zigzig: has joined #ruby
[19:21:11] jenrzzz: has joined #ruby
[19:21:11] jenrzzz: has joined #ruby
[19:27:41] darkhanb: has joined #ruby
[19:27:52] Mon_Ouie: has joined #ruby
[19:29:26] ResidentBiscuit: has joined #ruby
[19:31:51] dogweather: has joined #ruby
[19:33:46] amatas: has joined #ruby
[19:35:33] Beams: has joined #ruby
[19:36:02] jenrzzz: has joined #ruby
[19:36:03] jenrzzz: has joined #ruby
[19:37:44] banisterfiend: has joined #ruby
[19:39:01] leah2: has joined #ruby
[19:39:29] pastorinni: has joined #ruby
[19:45:40] jenrzzz: has joined #ruby
[19:45:40] jenrzzz: has joined #ruby
[19:46:15] dogweather: has joined #ruby
[19:48:05] alfiemax: has joined #ruby
[19:48:42] bmurt: has joined #ruby
[19:49:02] alfiemax: has joined #ruby
[19:50:31] jtdoncas_: has joined #ruby
[19:51:50] alfiemax_: has joined #ruby
[19:53:01] rrutkowski: has joined #ruby
[19:55:48] dstrunk: has joined #ruby
[20:00:25] tomphp: has joined #ruby
[20:01:58] alfiemax: has joined #ruby
[20:04:17] tomphp: has joined #ruby
[20:04:23] pastorinni: has joined #ruby
[20:05:40] dogweather: has joined #ruby
[20:08:35] banisterfiend: has joined #ruby
[20:11:50] tomphp_: has joined #ruby
[20:12:25] leah2: has joined #ruby
[20:12:30] za1b1tsu: has joined #ruby
[20:13:08] knight33: has joined #ruby
[20:15:05] gr33n7007h: has joined #ruby
[20:16:33] alex``: has joined #ruby
[20:16:47] camfowler: has joined #ruby
[20:17:08] alfiemax: has joined #ruby
[20:19:46] dogweather: has joined #ruby
[20:22:12] zigzig: has joined #ruby
[20:24:08] Guest90: has joined #ruby
[20:25:33] milardovich: has joined #ruby
[20:29:09] c0ncealed: has joined #ruby
[20:30:26] bmurt: has joined #ruby
[20:30:27] desperek: has joined #ruby
[20:30:36] tvw: has joined #ruby
[20:34:39] dogweather: has joined #ruby
[20:35:20] DrCode: has joined #ruby
[20:37:25] DrCode: has joined #ruby
[20:39:27] ahrs: has joined #ruby
[20:41:07] remi1: has joined #ruby
[20:41:16] workmad3: has joined #ruby
[20:41:40] remi1: Hello world
[20:42:06] veduardo: has joined #ruby
[20:43:58] jenrzzz: has joined #ruby
[20:43:58] jenrzzz: has joined #ruby
[20:44:00] desperek: how can i put contents of an array to an array instead of an array to an array in map?
[20:45:31] tomphp: has joined #ruby
[20:46:34] dogweather: has joined #ruby
[20:49:29] rrutkowski: has joined #ruby
[20:51:06] tomphp: has joined #ruby
[20:52:56] darkhanb: has joined #ruby
[20:54:21] John_Ivan: has joined #ruby
[20:54:21] John_Ivan: has joined #ruby
[20:55:48] jtdoncas_: has joined #ruby
[20:55:51] havenwood: desperek: Show an example of what you have and what you want?
[20:56:01] mtkd: has joined #ruby
[20:59:26] John_Ivan: has joined #ruby
[21:01:59] alfiemax_: has joined #ruby
[21:03:04] John_Ivan: has joined #ruby
[21:06:32] milardov_: has joined #ruby
[21:06:47] nowhereman_: has joined #ruby
[21:12:04] desperek: havenwood, sooo
[21:12:08] desperek: havenwood, i have @recipients.push *current_user.divisions.map { |d| p d.users} and
[21:12:56] desperek: is there any solution on how to merge association proxy? or not really?
[21:13:09] xfbs: has joined #ruby
[21:14:33] jenrzzz: has joined #ruby
[21:14:34] jenrzzz: has joined #ruby
[21:17:07] RougeRR: has joined #ruby
[21:19:04] leitz: has joined #ruby
[21:20:40] leitz: Need some help understanding labdas. The first code, counter.rb, comes from "Mastering Ruby Closures". The second bit, 'new_db.rb' is me trying to implement the ideas from the first bit on an end of chapter exercise. Ain't working. https://gist.github.com/LeamHall/0d4d3a5266b7e699a00485887fee1103
[21:21:19] leitz: The db is supposed to accept three calls; insert, delete, and dump.
[21:22:06] leitz: I'm more looking for understanding than actual code to make it work. Though code is find as long as understanding follows.
[21:23:12] lavamind: has left #ruby: ()
[21:23:48] leitz: find/fine
[21:26:55] pastorinni: has joined #ruby
[21:26:56] plexigras: has joined #ruby
[21:29:04] leitz: Ah...forgot the "call" after the dump.
[21:29:24] sqbell: has joined #ruby
[21:29:51] mnms_: has joined #ruby
[21:30:07] sqbell: has joined #ruby
[21:31:38] leitz: Can anyone explain this line? I'm new to Ruby 2.x. https://gist.github.com/LeamHall/0d4d3a5266b7e699a00485887fee1103#file-new_db-rb-L11
[21:31:47] leitz: It works, I just don't understand it.
[21:32:46] mozzarella: leitz: it returns a hash
[21:34:22] leitz: mozzarella, when does the key get turned into a symbol? I thought the ":" went at the front of a symbol.
[21:35:56] leitz: ACTION is re-reading on hashes now.
[21:36:23] jottr: has joined #ruby
[21:39:15] mozzarella: leitz: it's a special syntax for symbols as keys of hashes
[21:39:44] mozzarella: {a: :b} == {:a => :b}
[21:40:26] leitz: Ah, gotcha. I'm still the newbie.
[21:40:58] Beams: has joined #ruby
[22:01:11] helpa: has joined #ruby
[22:02:25] helpa: has joined #ruby
[22:04:52] helpa: has joined #ruby