« Back to channel list

#ruby - 18 June 2019

« Back 1 day Forward 1 day »
[00:00:55] doodlebug: has joined #ruby
[00:03:20] jmcgnh: has joined #ruby
[00:07:29] bradleyprice: has joined #ruby
[00:28:42] doodlebug: has joined #ruby
[00:30:20] jmcgnh_: has joined #ruby
[00:31:20] cschneid: has joined #ruby
[00:34:41] doodlebug: has joined #ruby
[00:38:39] jmcgnh: has joined #ruby
[00:40:27] violentE: has joined #ruby
[00:40:41] doodlebug: has joined #ruby
[00:44:01] theRoUS: has joined #ruby
[00:44:01] theRoUS: has joined #ruby
[00:46:42] doodlebug: has joined #ruby
[00:47:56] Paraxial: has joined #ruby
[00:52:42] doodlebug: has joined #ruby
[00:53:38] matchaw_: has joined #ruby
[00:56:07] agent_white: has joined #ruby
[00:58:40] haxx0r: has joined #ruby
[00:58:41] doodlebug: has joined #ruby
[01:04:31] bradleyprice_: has joined #ruby
[01:04:42] doodlebug: has joined #ruby
[01:07:55] codefriar: has joined #ruby
[01:10:43] doodlebug: has joined #ruby
[01:16:43] doodlebug: has joined #ruby
[01:17:33] fphilipe_: has joined #ruby
[01:18:36] tranch: has joined #ruby
[01:21:09] jmcgnh: has joined #ruby
[01:22:43] doodlebug: has joined #ruby
[01:23:40] cschneid: has joined #ruby
[01:27:56] matchaw: has joined #ruby
[01:28:43] doodlebug: has joined #ruby
[01:31:09] jmcgnh: has joined #ruby
[01:34:44] doodlebug: has joined #ruby
[01:35:15] nyana: has joined #ruby
[01:37:26] queip: has joined #ruby
[01:38:44] _dbugger: has joined #ruby
[01:40:44] doodlebug: has joined #ruby
[01:44:41] codefriar: has joined #ruby
[01:46:03] crankharder: has joined #ruby
[01:46:44] doodlebug: has joined #ruby
[01:47:26] tranch: has joined #ruby
[01:49:33] duderonomy: has joined #ruby
[01:51:52] budonyc: has joined #ruby
[01:52:46] doodlebug: has joined #ruby
[01:56:11] matchaw_: has joined #ruby
[01:58:47] doodlebug: has joined #ruby
[02:04:48] doodlebug: has joined #ruby
[02:10:48] doodlebug: has joined #ruby
[02:11:58] jmcgnh: has joined #ruby
[02:22:09] tranch: has joined #ruby
[02:25:54] ellcs: has joined #ruby
[02:26:55] jbooj: has joined #ruby
[02:27:56] cschneid: has joined #ruby
[02:28:56] tranch: has joined #ruby
[02:32:11] jmcgnh: has joined #ruby
[02:35:13] cschneid: has joined #ruby
[02:38:08] AndBobsYourUncle: has joined #ruby
[02:47:32] tranch: has joined #ruby
[02:48:33] AJA4350: has joined #ruby
[02:54:53] Wolland: has joined #ruby
[03:10:01] braincrash: has joined #ruby
[03:19:17] noobineer: has joined #ruby
[03:19:22] tranch: has joined #ruby
[03:19:30] fphilipe_: has joined #ruby
[03:22:35] haxx0r44: has joined #ruby
[03:29:00] SCHAPiE: has joined #ruby
[03:53:27] jmcgnh_: has joined #ruby
[03:56:50] nwradio878887987: has joined #ruby
[03:58:56] jmcgnh: has joined #ruby
[04:25:24] moei: has joined #ruby
[04:33:56] exmortus: has joined #ruby
[04:38:06] staticx: has joined #ruby
[04:38:33] tranch: has joined #ruby
[04:41:34] nyana: has joined #ruby
[04:42:27] Wolland: has joined #ruby
[05:12:05] sauvin: has joined #ruby
[05:17:25] ur5us: has joined #ruby
[05:17:40] fphilipe_: has joined #ruby
[05:17:45] ur5us: has joined #ruby
[05:18:34] tranch: has joined #ruby
[05:21:52] conta: has joined #ruby
[05:36:03] lipoqil: has joined #ruby
[05:37:44] Argorok: has joined #ruby
[05:37:47] peteretep: has joined #ruby
[05:37:58] gajus: has joined #ruby
[05:38:02] jmcgnh: has joined #ruby
[05:38:13] xco: has joined #ruby
[05:44:36] cgfbee: has joined #ruby
[05:46:44] tranch: has joined #ruby
[05:47:48] jmcgnh: has joined #ruby
[05:49:12] dellavg_: has joined #ruby
[05:50:41] yasumi2136: has joined #ruby
[05:53:11] blackmesa: has joined #ruby
[05:56:29] kyrylo: has joined #ruby
[06:06:32] BTRE: has joined #ruby
[06:07:02] jmcgnh: has joined #ruby
[06:15:21] schne1der: has joined #ruby
[06:31:02] jmcgnh: has joined #ruby
[06:33:12] matheusmoreira: has joined #ruby
[06:34:50] andikr: has joined #ruby
[06:45:11] reber: has joined #ruby
[06:56:43] cthulchu_: has joined #ruby
[07:01:30] Dbugger: has joined #ruby
[07:03:02] TomyWork: has joined #ruby
[07:06:38] GarethAdams: has joined #ruby
[07:14:07] _joes_: has joined #ruby
[07:15:51] nolanv: has joined #ruby
[07:22:38] rafadc: has joined #ruby
[07:24:34] cthu|: has joined #ruby
[07:27:37] mayurvpatil: has joined #ruby
[07:27:58] cthu|: has joined #ruby
[07:32:16] crankharder: has joined #ruby
[07:36:16] queip: has joined #ruby
[07:36:35] jefffrails35: has joined #ruby
[07:43:13] giorgian: has joined #ruby
[07:45:00] Sneaker: has joined #ruby
[07:52:42] schne1der: has joined #ruby
[07:55:47] Furai: has joined #ruby
[07:56:07] aupadhye: has joined #ruby
[07:57:22] deepredsky: has joined #ruby
[07:58:43] jmcgnh_: has joined #ruby
[08:01:42] yasumi2136_: has joined #ruby
[08:16:50] queip: has joined #ruby
[08:17:47] cca4: has joined #ruby
[08:20:37] jmcgnh: has joined #ruby
[08:23:35] Swyper: has joined #ruby
[08:24:07] dionysus69: has joined #ruby
[08:25:22] jmcgnh: has joined #ruby
[08:27:17] xco_: has joined #ruby
[08:32:14] mayurvpatil: has joined #ruby
[08:41:10] conta: has joined #ruby
[08:41:49] jmcgnh: has joined #ruby
[08:48:09] jmcgnh: has joined #ruby
[08:48:16] znz_jp: has joined #ruby
[08:51:25] jmcgnh_: has joined #ruby
[08:55:23] frojnd: has joined #ruby
[08:56:16] frojnd: Hi guys. I have an intereseting problem. My hash I get is already parsed from json... the problem is that for some fields I have null inside without quotes... what? How can I replace it with nil or add quotes to it?
[09:01:07] dhollin3: has joined #ruby
[09:01:14] kyrylo: has joined #ruby
[09:03:20] GarethAdams: has joined #ruby
[09:05:32] jmcgnh_: has joined #ruby
[09:06:09] tsrt^: has joined #ruby
[09:10:21] conta: has joined #ruby
[09:13:21] cthulchu: has joined #ruby
[09:15:01] _joes_: has joined #ruby
[09:17:27] cca4: Hello everyone. I am a new Ruby developer and I need to create a new version of our API. Currently we use https://github.com/rails-api/active_model_serializers but this gem will be depreciated. Will you have a jewel to recommend me? Has Netflix launched a gem https://github.com/Netflix/fast_jsonapi already been tested?
[09:18:19] ur5us_: has joined #ruby
[09:20:59] xco: has joined #ruby
[09:36:33] jmcgnh: has joined #ruby
[09:39:02] themsay: has joined #ruby
[09:42:56] queip: has joined #ruby
[09:43:18] madhatter: has joined #ruby
[09:44:44] mozzarella: has joined #ruby
[09:54:57] themsay: has joined #ruby
[09:55:24] universa1: has joined #ruby
[09:59:49] marz_d`ghostman: has joined #ruby
[10:01:01] ellcs1: has joined #ruby
[10:12:07] deathwishdave: has joined #ruby
[10:14:18] ebbflowgo: has joined #ruby
[10:18:29] reber: has joined #ruby
[10:18:36] tranch: has joined #ruby
[10:22:48] ebbflowgo: has joined #ruby
[10:29:35] conta: has joined #ruby
[10:39:01] deathwishdave: has joined #ruby
[10:39:39] matchaw: has joined #ruby
[10:45:00] fphilipe_: has joined #ruby
[10:55:42] queip: has joined #ruby
[10:59:34] ivanc: has joined #ruby
[11:00:08] ivanc: has left #ruby: ()
[11:09:27] cthulchu: has joined #ruby
[11:11:23] AJA4350: has joined #ruby
[11:11:43] GodFather: has joined #ruby
[11:17:05] queip: has joined #ruby
[11:19:19] kyrylo: has joined #ruby
[11:25:01] cthulchu: has joined #ruby
[11:26:05] cthulchu: has joined #ruby
[11:26:08] NikhilSinghal: has joined #ruby
[11:28:54] cca: has joined #ruby
[11:28:58] cca: Hello everyone. I am a new Ruby developer and I need to create a new version of our API. Currently we use https://github.com/rails-api/active_model_serializers but this gem will be depreciated. Will you have a jewel to recommend me? Has Netflix launched a gem https://github.com/Netflix/fast_jsonapi already been tested?
[11:31:47] mayurvpatil: has joined #ruby
[11:46:59] conta: has joined #ruby
[11:51:46] deathwishdave: has joined #ruby
[11:56:25] cthulchu: has joined #ruby
[11:57:15] cthulchu: has joined #ruby
[12:00:30] Swyper: has joined #ruby
[12:00:41] fphilipe_: has joined #ruby
[12:01:55] mayurvpatil: has joined #ruby
[12:02:26] cthulchu: has joined #ruby
[12:03:01] ellcs1: cca: where did you get the information that the gem is deprecated?
[12:03:26] cthulchu: has joined #ruby
[12:03:36] _joes_: has joined #ruby
[12:04:13] ThePacketBender: has joined #ruby
[12:04:56] deepredsky: has joined #ruby
[12:05:53] jmcgnh: has joined #ruby
[12:05:58] cca: #elics1 it has been in renovation status for a long time so he would like to change his gems. https://github.com/rails-api/active_model_serializers#status-of-ams
[12:08:23] ellcs1: https://github.com/rails-api/active_model_serializers/commits/0-10-stable
[12:08:23] ellcs1: last commit for 0-10-stable was three days ago
[12:09:02] ellcs1: however, i did not test fast_jsonapi. i've just been curious :)
[12:12:21] griffindy: has joined #ruby
[12:21:25] kolaman: has joined #ruby
[12:22:29] kolaman: I just started learning ruby and creating a small script
[12:22:33] kolaman: here is the script
[12:22:34] kolaman: https://pastebin.com/WJw5jD8c
[12:22:35] ruby[bot]: kolaman: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
[12:23:30] kolaman: The thing is that if part never runs but else (last) always runs regardless of the values I pass
[12:23:48] kolaman: syntax seems to be Ok but not sure what is the problem
[12:24:16] queip: has joined #ruby
[12:37:40] reber_: has joined #ruby
[12:37:48] deepredsky: has joined #ruby
[12:38:35] matchaw: has joined #ruby
[12:39:35] cca: #ellcs1 you also use active_model_serializers, are there other known gems?
[12:42:32] priodev: has joined #ruby
[12:42:41] ellcs1: kolaman: variables do not need a dollar when using them
[12:43:07] ellcs1: so instead of `if ($a == 'amazon' ` you should use `if (a == 'amazon'`
[12:43:46] ellcs1: i also use active_model_s, yes
[12:44:16] kolaman: ellcs1: thanks, actually I was using chef and there used $. appologies for such a dumb mistake :(
[12:45:17] ellcs1: when i evaluated which serializer to use, i also stubled over fast_jsonapi.
[12:45:17] ellcs1: but i dont remember why i choose active_model serializer
[12:45:31] ellcs1: kolaman: no worries, you're learning! keep going :)
[12:46:12] kyrylo: has joined #ruby
[12:53:54] mayurvpatil: has joined #ruby
[12:59:10] queip: has joined #ruby
[12:59:43] matchaw: has joined #ruby
[13:00:47] jmcgnh: has joined #ruby
[13:03:56] lucasb: has joined #ruby
[13:03:57] conta: has joined #ruby
[13:09:41] shtirlic: has joined #ruby
[13:09:51] Swyper: has joined #ruby
[13:10:01] deepredsky: has joined #ruby
[13:12:18] Azure: has joined #ruby
[13:15:47] CCDelivery: has joined #ruby
[13:16:26] deathwishdave: has joined #ruby
[13:19:36] deathwishdave: has joined #ruby
[13:22:48] codefriar: has joined #ruby
[13:23:48] ebbflowgo: has joined #ruby
[13:25:05] al2o3-cr: has joined #ruby
[13:27:01] mayurvpatil: has joined #ruby
[13:28:05] tranch: has joined #ruby
[13:30:28] jmcgnh: has joined #ruby
[13:33:05] TomyWork: has joined #ruby
[13:34:06] deepredsky: has joined #ruby
[13:54:28] codefriar: has joined #ruby
[14:07:24] mayurvpatil: has joined #ruby
[14:07:51] Inline: has joined #ruby
[14:08:51] sphenxes: has joined #ruby
[14:16:43] Inline: has joined #ruby
[14:17:32] Rapture: has joined #ruby
[14:20:00] _joes_: has joined #ruby
[14:20:51] cow[moo]: has joined #ruby
[14:21:39] AndreYuhai: has joined #ruby
[14:21:50] AndreYuhai: Hello there, can I use regexp in xpath?
[14:23:45] jeremycw: has joined #ruby
[14:24:00] GodFather: has joined #ruby
[14:24:33] aupadhye: has joined #ruby
[14:26:18] ellcs: has joined #ruby
[14:26:33] sphenxes: has joined #ruby
[14:27:24] bradleyprice: has joined #ruby
[14:27:48] bradleyprice: has joined #ruby
[14:42:39] Esa_: has joined #ruby
[14:44:33] rafadc: has joined #ruby
[14:55:56] fphilipe_: has joined #ruby
[14:59:51] mayurvpatil_: has joined #ruby
[15:00:26] mayurvpatil_: has joined #ruby
[15:01:16] mayurvpatil_: has joined #ruby
[15:02:20] mayurvpatil: has joined #ruby
[15:09:01] sagax: has joined #ruby
[15:12:59] orbyt_: has joined #ruby
[15:27:00] tranch: has joined #ruby
[15:27:43] Swyper: has joined #ruby
[15:33:17] ellcs: has joined #ruby
[15:36:07] oz: has joined #ruby
[15:37:28] UncleCid__: has joined #ruby
[15:37:29] altious2: has joined #ruby
[15:38:01] Inline_: has joined #ruby
[15:38:10] _dbugger: has joined #ruby
[15:40:51] Argorok: has joined #ruby
[15:40:59] sparc: has joined #ruby
[15:41:07] englishm: has joined #ruby
[15:41:08] afisher: has joined #ruby
[15:41:26] discopatrick: has joined #ruby
[15:42:13] twe4ked: has joined #ruby
[15:42:21] znz_jp: has joined #ruby
[15:55:36] GodFather: has joined #ruby
[16:01:38] deepredsky: has joined #ruby
[16:02:43] schne1der: has joined #ruby
[16:03:48] bradleyprice: has joined #ruby
[16:11:47] englishm: has joined #ruby
[16:18:33] cschneid_: has joined #ruby
[16:18:49] maryo: has joined #ruby
[16:22:39] bradleyprice: has joined #ruby
[16:27:54] miskatonic: has joined #ruby
[16:32:16] GodFather: has joined #ruby
[16:33:24] harmaahylje: has left #ruby: ()
[16:33:55] cthulchu: has joined #ruby
[16:40:23] duderonomy: has joined #ruby
[16:41:03] rippa: has joined #ruby
[16:43:40] matheusmoreira: has joined #ruby
[16:46:44] schne1der: has joined #ruby
[16:47:57] Wolland: has joined #ruby
[16:52:21] maryo: has joined #ruby
[16:57:08] mfb2: has joined #ruby
[17:17:41] bradleyprice: has joined #ruby
[17:20:55] tdy: has joined #ruby
[17:22:54] Wolland: has joined #ruby
[17:23:58] CCDelivery: has joined #ruby
[17:35:39] jmcgnh: has joined #ruby
[17:45:08] kwerle: has joined #ruby
[17:49:54] skyikot: has joined #ruby
[17:50:21] bradleyprice: has joined #ruby
[17:53:16] bradleyprice: has joined #ruby
[17:53:53] mfb2: has joined #ruby
[17:56:45] cd: has joined #ruby
[18:06:57] Koshian: has joined #ruby
[18:10:07] armyriad: has joined #ruby
[18:11:08] bradleyprice: has joined #ruby
[18:19:45] fphilipe_: has joined #ruby
[18:20:20] shtirlic_: has joined #ruby
[18:21:37] Eiam: has joined #ruby
[18:22:16] charon77: has joined #ruby
[18:26:03] SCHAPiE: has joined #ruby
[18:26:48] AndreYuhai: How do I keep selecting from the nodeset that I have in hand using xpath? For example I am looking for an a tag in h2. I've selected h2 but a is not the immediate element after h2, how do I select it?
[18:30:42] Azure: has joined #ruby
[18:39:20] haxx0r: has joined #ruby
[18:45:33] bougyman: Anyone have a recommendation for a ruby LDAP library that's _not_ ActiveLdap?
[18:48:04] fluxAeon: has joined #ruby
[18:48:14] fluxAeon: good morning
[18:48:25] fluxAeon: https://cpy.pt/UXNvMMcM
[18:48:29] fluxAeon: can someone tell me what's happening here?
[18:49:07] fluxAeon: the var politician_type will be set to a url parameter called Type if it exists. if it doesn't, it's M ?
[18:56:14] shtirlic: has joined #ruby
[18:57:44] jmcgnh: has joined #ruby
[19:07:51] jmcgnh: has joined #ruby
[19:19:03] sameerynho: has joined #ruby
[19:27:57] queip: has joined #ruby
[19:31:56] adam12: fluxAeon: Correct.
[19:32:28] adam12: fluxAeon: If you copy/pasted that verbatim from a project, I'd say it's not _good_ Ruby code, tho it's functional.
[19:32:44] Inline: has joined #ruby
[19:34:44] fluxAeon: it's from our production code haha
[19:34:57] fluxAeon: it's very difficult to read
[19:36:14] adam12: fluxAeon: Yeah. It's overly creative.
[19:39:00] d^sh: has joined #ruby
[19:50:56] kyrylo: has joined #ruby
[19:56:35] queip: has joined #ruby
[20:01:08] cd: has joined #ruby
[20:01:40] bradleyprice: has joined #ruby
[20:06:21] gix: has joined #ruby
[20:08:25] Wolland: has joined #ruby
[20:10:23] ramfjord: has joined #ruby
[20:12:26] tdy: has joined #ruby
[20:15:53] bradleyprice: has joined #ruby
[20:16:41] CrazyEddy: has joined #ruby
[20:20:09] Cthulu201: has joined #ruby
[21:03:29] fphilipe_: has joined #ruby
[21:07:31] Swyper: has joined #ruby
[21:08:37] ramfjord: has joined #ruby
[21:09:13] AJA4350: has joined #ruby
[21:13:53] ur5us: has joined #ruby
[21:21:58] bradleyprice: has joined #ruby
[21:23:41] gix: has joined #ruby
[21:26:19] larissa: has joined #ruby
[21:45:01] Axsuul: has joined #ruby
[21:49:47] r29v: has joined #ruby
[21:50:36] Fernando-Basso: has joined #ruby
[21:52:45] bradleyprice: has joined #ruby
[21:56:26] queip: has joined #ruby
[21:57:50] Jonopoly_: has joined #ruby
[21:59:21] iffraff: has joined #ruby
[22:00:33] ruby[bot]: has joined #ruby
[22:00:33] ChanServ: +o ruby[bot]
[22:00:48] Azure: has joined #ruby
[22:01:05] ruby[bot]: -b+b *1488*!*@* *1488*!*@*$#ruby-banned
[22:01:16] ricekrispie: has joined #ruby
[22:02:44] Swyper: has joined #ruby
[22:05:17] ramfjord: has joined #ruby
[22:07:55] xco: has joined #ruby
[22:15:37] vjacob: has joined #ruby
[22:17:45] ellcs: has joined #ruby
[22:19:48] sparc: has joined #ruby
[22:19:53] d0liver: has joined #ruby
[22:20:05] afisher: has joined #ruby
[22:20:10] wbnns: has joined #ruby
[22:20:12] ctp: has joined #ruby
[22:21:19] orbyt_: has joined #ruby
[22:26:56] bradleyprice: has joined #ruby
[22:29:17] ur5us: has joined #ruby
[22:31:21] queip: has joined #ruby
[22:51:14] kateskips: has left #ruby: ("Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 30+ days.")
[23:05:11] CCDelivery: has joined #ruby
[23:08:50] Azure: has joined #ruby
[23:11:34] ellcs: has joined #ruby
[23:25:27] ur5us: has joined #ruby
[23:28:23] Emmanuel_Chanel: has joined #ruby
[23:33:56] fphilipe_: has joined #ruby
[23:39:40] tranch: has joined #ruby
[23:39:51] AndreYuhai: has joined #ruby
[23:44:32] lunarkitty7: has joined #ruby
[23:45:33] gix: has joined #ruby
[23:47:11] tdy: has joined #ruby
[23:58:00] code_zombie_: has joined #ruby
[23:58:13] AndreYuhai: has joined #ruby