« Back to channel list

#RubyOnRails - 29 May 2018

« Back 1 day Forward 1 day »
[00:14:33] ur5us: has joined #RubyOnRails
[00:16:26] greengriminal: has joined #RubyOnRails
[00:23:20] dviola: has joined #RubyOnRails
[01:07:32] Technodrome: has joined #RubyOnRails
[01:50:31] alfiemax: has joined #RubyOnRails
[02:04:39] kapil___: has joined #RubyOnRails
[02:06:41] sikachu: has joined #RubyOnRails
[02:06:41] Jameser: has joined #RubyOnRails
[02:08:13] daemonwrangler: has joined #RubyOnRails
[02:09:58] Radar: GOOD AFTERNOON
[02:14:12] tdy: has joined #RubyOnRails
[02:16:41] Technodrome: has joined #RubyOnRails
[02:23:52] jhass|off: has joined #RubyOnRails
[02:25:09] lypsis: has joined #RubyOnRails
[02:25:11] phon: has joined #RubyOnRails
[02:25:14] tbuehlmann: has joined #RubyOnRails
[02:37:41] Voxxit: has joined #RubyOnRails
[02:39:37] jnollette: has joined #RubyOnRails
[02:40:29] TessaM-: has joined #RubyOnRails
[02:41:02] orbyt_: has joined #RubyOnRails
[02:42:10] tdy: has joined #RubyOnRails
[02:42:10] agent_white: has joined #RubyOnRails
[02:42:10] sagax: has joined #RubyOnRails
[02:42:10] moei: has joined #RubyOnRails
[02:43:01] trautwein: has joined #RubyOnRails
[02:43:13] tdy: has joined #RubyOnRails
[02:43:38] moei: has joined #RubyOnRails
[02:45:20] tdy: has joined #RubyOnRails
[02:45:20] daemonwrangler: has joined #RubyOnRails
[02:45:20] Sylario: has joined #RubyOnRails
[02:45:20] deevil: has joined #RubyOnRails
[02:45:20] dustinm`: has joined #RubyOnRails
[02:45:20] EXCHGR: has joined #RubyOnRails
[02:45:20] matt_d: has joined #RubyOnRails
[02:45:20] crankharder: has joined #RubyOnRails
[02:45:20] havenwood: has joined #RubyOnRails
[02:45:20] hfp_work: has joined #RubyOnRails
[02:45:20] S007: has joined #RubyOnRails
[02:45:20] AlHafoudh: has joined #RubyOnRails
[02:45:20] gs: has joined #RubyOnRails
[02:45:26] tpendragon: has joined #RubyOnRails
[02:45:27] iamdevnul: has joined #RubyOnRails
[02:45:27] tejasmanohar: has joined #RubyOnRails
[02:45:27] larissa: has joined #RubyOnRails
[02:45:27] mjolnird: has joined #RubyOnRails
[02:45:27] webhat: has joined #RubyOnRails
[02:45:27] Majadon: has joined #RubyOnRails
[02:45:27] Liothen: has joined #RubyOnRails
[02:45:27] fox_mulder_cp: has joined #RubyOnRails
[02:45:27] cgfbee: has joined #RubyOnRails
[02:46:45] S007: has joined #RubyOnRails
[02:47:43] matthewd: has joined #RubyOnRails
[02:47:43] wmoxam: has joined #RubyOnRails
[02:47:43] lord4163: has joined #RubyOnRails
[02:47:43] nOwz: has joined #RubyOnRails
[02:47:43] universa1: has joined #RubyOnRails
[02:47:43] syndikate: has joined #RubyOnRails
[02:47:43] \13k: has joined #RubyOnRails
[02:47:43] blackcross_: has joined #RubyOnRails
[02:47:43] Ryzokuken: has joined #RubyOnRails
[02:47:43] Ropeney: has joined #RubyOnRails
[02:47:43] apeiros: has joined #RubyOnRails
[02:47:43] S007: has joined #RubyOnRails
[02:47:43] fox_mulder_cp: has joined #RubyOnRails
[02:47:43] Liothen: has joined #RubyOnRails
[02:47:43] Majadon: has joined #RubyOnRails
[02:47:43] webhat: has joined #RubyOnRails
[02:47:43] mjolnird: has joined #RubyOnRails
[02:47:43] larissa: has joined #RubyOnRails
[02:47:43] tejasmanohar: has joined #RubyOnRails
[02:47:43] iamdevnul: has joined #RubyOnRails
[02:47:43] tpendragon: has joined #RubyOnRails
[02:47:43] gs: has joined #RubyOnRails
[02:47:43] AlHafoudh: has joined #RubyOnRails
[02:47:44] hfp_work: has joined #RubyOnRails
[02:47:44] havenwood: has joined #RubyOnRails
[02:47:44] crankharder: has joined #RubyOnRails
[02:47:44] matt_d: has joined #RubyOnRails
[02:47:44] EXCHGR: has joined #RubyOnRails
[02:47:44] dustinm`: has joined #RubyOnRails
[02:47:44] deevil: has joined #RubyOnRails
[02:47:44] Sylario: has joined #RubyOnRails
[02:47:44] daemonwrangler: has joined #RubyOnRails
[02:47:44] tdy: has joined #RubyOnRails
[02:47:44] moei: has joined #RubyOnRails
[02:47:44] trautwein: has joined #RubyOnRails
[02:47:44] sagax: has joined #RubyOnRails
[02:47:44] agent_white: has joined #RubyOnRails
[02:47:44] orbyt_: has joined #RubyOnRails
[02:47:44] TessaM-: has joined #RubyOnRails
[02:47:44] jnollette: has joined #RubyOnRails
[02:47:44] Voxxit: has joined #RubyOnRails
[02:47:44] tbuehlmann: has joined #RubyOnRails
[02:47:44] phon: has joined #RubyOnRails
[02:47:44] lypsis: has joined #RubyOnRails
[02:47:44] jhass: has joined #RubyOnRails
[02:47:44] Technodrome: has joined #RubyOnRails
[02:47:44] Jameser: has joined #RubyOnRails
[02:47:44] sikachu: has joined #RubyOnRails
[02:47:44] kapil___: has joined #RubyOnRails
[02:47:44] dviola: has joined #RubyOnRails
[02:47:44] ur5us: has joined #RubyOnRails
[02:47:44] ArTiSTiX: has joined #RubyOnRails
[02:47:44] weaksauce: has joined #RubyOnRails
[02:47:44] darkhanb: has joined #RubyOnRails
[02:47:45] egray: has joined #RubyOnRails
[02:47:45] DTZUZO: has joined #RubyOnRails
[02:47:45] ephemer0l: has joined #RubyOnRails
[02:47:45] samosaphile: has joined #RubyOnRails
[02:47:45] russt: has joined #RubyOnRails
[02:47:45] hpfmn_: has joined #RubyOnRails
[02:47:45] Dbugger: has joined #RubyOnRails
[02:47:45] bga57: has joined #RubyOnRails
[02:47:45] beingjohnm: has joined #RubyOnRails
[02:47:45] segy: has joined #RubyOnRails
[02:47:45] weird_error: has joined #RubyOnRails
[02:47:45] pavelz: has joined #RubyOnRails
[02:47:45] nickjj: has joined #RubyOnRails
[02:47:45] Kilo`byte: has joined #RubyOnRails
[02:47:45] mr-spoon: has joined #RubyOnRails
[02:47:45] urkle: has joined #RubyOnRails
[02:47:45] sonOfRa: has joined #RubyOnRails
[02:47:45] Tempesta: has joined #RubyOnRails
[02:47:45] xMopx: has joined #RubyOnRails
[02:47:45] duderonomy: has joined #RubyOnRails
[02:47:45] lupine: has joined #RubyOnRails
[02:47:45] LightStalker: has joined #RubyOnRails
[02:47:45] jrm: has joined #RubyOnRails
[02:47:45] atrius: has joined #RubyOnRails
[02:47:45] norfumpit: has joined #RubyOnRails
[02:47:45] blitz: has joined #RubyOnRails
[02:47:45] Zinder: has joined #RubyOnRails
[02:47:45] newton: has joined #RubyOnRails
[02:47:45] Fire-Dragon-DoL: has joined #RubyOnRails
[02:47:45] dtzuzu: has joined #RubyOnRails
[02:47:46] ghormoon: has joined #RubyOnRails
[02:47:46] hahuang65: has joined #RubyOnRails
[02:47:46] hammer065: has joined #RubyOnRails
[02:47:46] Prira: has joined #RubyOnRails
[02:47:46] umpc: has joined #RubyOnRails
[02:47:46] tjbp: has joined #RubyOnRails
[02:47:46] ltd: has joined #RubyOnRails
[02:47:46] LenPayne: has joined #RubyOnRails
[02:47:46] arathald: has joined #RubyOnRails
[02:47:46] ircmaxell: has joined #RubyOnRails
[02:47:46] lunarkitty7: has joined #RubyOnRails
[02:47:46] epochwolf: has joined #RubyOnRails
[02:47:46] dnyy: has joined #RubyOnRails
[02:47:46] craysiii: has joined #RubyOnRails
[02:47:46] jxf: has joined #RubyOnRails
[02:47:46] mmun: has joined #RubyOnRails
[02:47:46] podman: has joined #RubyOnRails
[02:47:46] bphogan: has joined #RubyOnRails
[02:47:46] digitalfiz: has joined #RubyOnRails
[02:47:46] argoneus: has joined #RubyOnRails
[02:47:46] mattwc: has joined #RubyOnRails
[02:47:47] kakekongen: has joined #RubyOnRails
[02:47:47] xhoy: has joined #RubyOnRails
[02:47:47] noodle: has joined #RubyOnRails
[02:47:47] tomaw: has joined #RubyOnRails
[02:47:47] xtsee: has joined #RubyOnRails
[02:47:47] webdestroya: has joined #RubyOnRails
[02:47:47] arooni: has joined #RubyOnRails
[02:47:47] daxroc: has joined #RubyOnRails
[02:47:47] Diabolik: has joined #RubyOnRails
[02:47:47] CBebop: has joined #RubyOnRails
[02:47:47] j0bk: has joined #RubyOnRails
[02:47:47] ule: has joined #RubyOnRails
[02:47:47] Gizmokid2005: has joined #RubyOnRails
[02:47:47] Guest9089: has joined #RubyOnRails
[02:47:47] bdnelson: has joined #RubyOnRails
[02:47:47] bitch: has joined #RubyOnRails
[02:47:47] Psy-Q: has joined #RubyOnRails
[02:47:47] p8m: has joined #RubyOnRails
[02:47:47] meal: has joined #RubyOnRails
[02:47:47] badeball: has joined #RubyOnRails
[02:47:47] funnel: has joined #RubyOnRails
[02:47:47] kanzure: has joined #RubyOnRails
[02:47:47] Scient: has joined #RubyOnRails
[02:47:47] chridal: has joined #RubyOnRails
[02:47:47] mr-robert: has joined #RubyOnRails
[02:47:47] Guest21194: has joined #RubyOnRails
[02:47:47] arcturiaen: has joined #RubyOnRails
[02:47:47] mcr1: has joined #RubyOnRails
[02:47:48] IanMalcolm: has joined #RubyOnRails
[02:47:48] w0rd-driven: has joined #RubyOnRails
[02:47:48] Guest91942: has joined #RubyOnRails
[02:47:48] arielserafini: has joined #RubyOnRails
[02:47:48] Guest64970: has joined #RubyOnRails
[02:47:48] r3my: has joined #RubyOnRails
[02:47:48] JJonah: has joined #RubyOnRails
[02:47:48] Kamuela: has joined #RubyOnRails
[02:47:48] Travis-42: has joined #RubyOnRails
[02:47:48] codepete: has joined #RubyOnRails
[02:47:48] justinweiss: has joined #RubyOnRails
[02:47:48] Fridtjof: has joined #RubyOnRails
[02:47:48] veloutin: has joined #RubyOnRails
[02:47:48] jtperreault: has joined #RubyOnRails
[02:47:48] SanguineAnomaly: has joined #RubyOnRails
[02:47:48] FooBarWidget: has joined #RubyOnRails
[02:47:48] cjohnson: has joined #RubyOnRails
[02:47:48] Vircung: has joined #RubyOnRails
[02:47:48] rodd: has joined #RubyOnRails
[02:47:48] krainboltgreene: has joined #RubyOnRails
[02:47:48] hellekin: has joined #RubyOnRails
[02:47:48] Guest52854: has joined #RubyOnRails
[02:47:48] Guest84079: has joined #RubyOnRails
[02:47:48] auv: has joined #RubyOnRails
[02:47:48] devlaf: has joined #RubyOnRails
[02:47:48] HappyHotDog: has joined #RubyOnRails
[02:47:49] doesntbyte: has joined #RubyOnRails
[02:47:49] jlpeters: has joined #RubyOnRails
[02:47:49] pro777: has joined #RubyOnRails
[02:47:49] dmnd: has joined #RubyOnRails
[02:47:49] Guest22947: has joined #RubyOnRails
[02:47:49] Guest53256: has joined #RubyOnRails
[02:47:49] DukeDave: has joined #RubyOnRails
[02:47:49] maciuszek: has joined #RubyOnRails
[02:47:49] Vegetable: has joined #RubyOnRails
[02:47:49] tycoon177: has joined #RubyOnRails
[02:47:49] Lloyd: has joined #RubyOnRails
[02:47:49] Guest50286: has joined #RubyOnRails
[02:47:49] Radar: has joined #RubyOnRails
[02:47:49] Cork: has joined #RubyOnRails
[02:47:49] DylanJ: has joined #RubyOnRails
[02:47:49] leeky: has joined #RubyOnRails
[02:47:49] baweaver: has joined #RubyOnRails
[02:47:49] fryguy: has joined #RubyOnRails
[02:47:49] nemesit|znc: has joined #RubyOnRails
[02:47:49] Alchemical: has joined #RubyOnRails
[02:47:49] shenghi: has joined #RubyOnRails
[02:47:49] michael_mbp: has joined #RubyOnRails
[02:47:49] sung_: has joined #RubyOnRails
[02:47:49] spectra: has joined #RubyOnRails
[02:47:49] boxmein: has joined #RubyOnRails
[02:47:49] arthurnn: has joined #RubyOnRails
[02:47:49] Guest21010: has joined #RubyOnRails
[02:47:49] TViernion: has joined #RubyOnRails
[02:47:49] SuperTux88: has joined #RubyOnRails
[02:47:49] fumk: has joined #RubyOnRails
[02:47:49] marahin: has joined #RubyOnRails
[02:47:50] Guest53857: has joined #RubyOnRails
[02:47:50] eean: has joined #RubyOnRails
[02:48:34] cgfbee: has joined #RubyOnRails
[02:48:40] Ryzokuken: has joined #RubyOnRails
[02:50:33] tbuehlmann: has joined #RubyOnRails
[02:50:33] lypsis: has joined #RubyOnRails
[02:50:33] kapil___: has joined #RubyOnRails
[02:50:33] ephemer0l: has joined #RubyOnRails
[02:50:33] xMopx: has joined #RubyOnRails
[02:50:33] newton: has joined #RubyOnRails
[02:50:33] hahuang65: has joined #RubyOnRails
[02:50:33] umpc: has joined #RubyOnRails
[02:51:07] Jameser: has joined #RubyOnRails
[02:51:07] dviola: has joined #RubyOnRails
[02:51:07] egray: has joined #RubyOnRails
[02:51:07] duderonomy: has joined #RubyOnRails
[02:51:07] lupine: has joined #RubyOnRails
[02:51:07] dtzuzu: has joined #RubyOnRails
[02:51:07] xhoy: has joined #RubyOnRails
[02:51:07] tomaw: has joined #RubyOnRails
[02:51:07] ule: has joined #RubyOnRails
[02:51:07] bdnelson: has joined #RubyOnRails
[02:51:45] ur5us: has joined #RubyOnRails
[02:51:45] weaksauce: has joined #RubyOnRails
[02:51:45] beingjohnm: has joined #RubyOnRails
[02:51:45] segy: has joined #RubyOnRails
[02:51:45] weird_error: has joined #RubyOnRails
[02:51:45] nickjj: has joined #RubyOnRails
[02:51:45] sonOfRa: has joined #RubyOnRails
[02:51:45] Tempesta: has joined #RubyOnRails
[02:51:45] LightStalker: has joined #RubyOnRails
[02:51:45] blitz: has joined #RubyOnRails
[02:51:45] Fire-Dragon-DoL: has joined #RubyOnRails
[02:52:24] funnel: has joined #RubyOnRails
[02:52:29] dtzuzu: has joined #RubyOnRails
[02:52:31] armyriad: has joined #RubyOnRails
[02:53:56] ellcs: has joined #RubyOnRails
[03:00:27] tomaw_: has joined #RubyOnRails
[03:02:16] sevenseacat: has joined #RubyOnRails
[03:18:05] Technodrome: has joined #RubyOnRails
[03:56:10] jenenliu: has joined #RubyOnRails
[04:06:00] wilornel: has joined #RubyOnRails
[04:49:36] agent_white: has joined #RubyOnRails
[05:29:54] reber: has joined #RubyOnRails
[05:36:18] worknick: has joined #RubyOnRails
[05:36:46] worknick: sending email with deliver_now works but when deliver_later sends it to delayed_job queue, it executes the job but actual email is not sent.
[05:36:51] worknick: how to troubleshoot this?
[05:56:03] nemesit: has joined #RubyOnRails
[06:13:54] csk157: has joined #RubyOnRails
[06:17:43] syndikate: Check the job code. Check if the mail delivery service is working fine. Check if the Env variables for the same are set properly
[06:20:29] Puffball: has joined #RubyOnRails
[06:21:29] conta: has joined #RubyOnRails
[06:33:41] worknick: syndikate, all those are fine, because if i do deliver_now or just deliver then it works
[06:35:47] lxsameer: has joined #RubyOnRails
[06:43:41] conta: has joined #RubyOnRails
[06:45:17] Abhijit_: has joined #RubyOnRails
[06:46:54] conta1: has joined #RubyOnRails
[06:47:27] apeiros: has joined #RubyOnRails
[06:48:21] ur5us: has joined #RubyOnRails
[06:57:43] ShekharReddy: has joined #RubyOnRails
[07:03:46] roshanavand: has joined #RubyOnRails
[07:15:36] kapil___: has joined #RubyOnRails
[07:19:09] DrYockel: has joined #RubyOnRails
[07:21:44] kapil___: has joined #RubyOnRails
[07:22:53] roamingdog: has joined #RubyOnRails
[07:29:53] _aeris_: has joined #RubyOnRails
[07:31:33] csk157: has joined #RubyOnRails
[07:34:22] roshanavand: has joined #RubyOnRails
[07:38:33] psychoslave: has joined #RubyOnRails
[07:41:30] srinidhi: has joined #RubyOnRails
[07:43:42] conta1: has joined #RubyOnRails
[07:58:44] conta1: has joined #RubyOnRails
[08:01:11] srinidhi: has joined #RubyOnRails
[08:13:54] rfoust: has joined #RubyOnRails
[08:21:09] conta: has joined #RubyOnRails
[08:26:34] dionysus69: has joined #RubyOnRails
[08:30:22] nemesit: has joined #RubyOnRails
[08:30:41] Zefoy: has joined #RubyOnRails
[08:32:17] NL3limin4t0r: has joined #RubyOnRails
[08:42:08] andywww: has joined #RubyOnRails
[08:43:18] andywww: was wondering if i could get a bit of steer, i’ve got a feeling i might be reinventing a wheel here somehow
[08:43:34] andywww: i was to use a bastardisation of a strategy pattern to apply rules to the params hash
[08:43:37] andywww: https://gist.github.com/wanabewired/8db7e59c24825cf9b505f8e328bb5fab
[08:44:36] sevenseacat: what kind of rules, out of curiosity? params are generally very specific per action
[08:45:14] andywww: this class will be used on multiple apps, each will have different rules to apply so I want to loop through any derivatives of Strategy (incorrectly named i know, but this is for illustration purposes) and apply them
[08:45:56] andywww: the class packages up params and sends them to a stats app so i can track application usage across the suite
[08:46:28] andywww: but i want to apply rules like removing uploads and swapping out sensitive data before sending the packet
[08:46:37] andywww: so the rules have to sit on the apps side
[08:47:24] andywww: i’ve had a sniff through some of the GOF patterns and this is the closest i’ve found so far
[08:47:35] andywww: but i can’t work out how to chain it
[08:49:14] sevenseacat: using a reducer would allow you to pass params through a chain of methods
[08:50:16] andywww: okay brill i’ll have a read into it, thanks
[08:50:27] andywww: feel free to fire any other suggestions/links over
[08:50:59] tbuehlmann: you want a pipeline with filters, I think. each filter taking input and returning output, which will be the next filter's input
[08:54:08] andywww: hmm, the production line analogy is a good one, just had a skim read
[08:54:20] andywww: gonna swot up a bit
[09:00:20] kies^: has joined #RubyOnRails
[09:11:33] Jameser: has joined #RubyOnRails
[09:14:16] Jameser: has joined #RubyOnRails
[09:16:32] FernandoBasso: has joined #RubyOnRails
[09:19:19] srinidhi: has joined #RubyOnRails
[09:19:58] RougeR: has joined #RubyOnRails
[09:20:20] RougeR: anyone else noticed the lack of rails jobs currently?
[09:21:05] sevenseacat: ACTION raises hand
[09:21:27] RougeR: its rather annoying as i just learnt rails as my first framework
[09:21:41] RougeR: and now there are bugger all jobs and even less entry level
[09:22:09] RougeR: the steaming turd that is node seems to have take most of the market share
[09:22:11] sevenseacat: that sounds like a bit of a different case
[09:22:54] RougeR: sevenseacat: well. comparing a search for django/node/php/rails. rails has the least by a massive margin on all jobs
[09:23:02] sevenseacat: depending on where you are of course, there were never many entry-level jobs around
[09:23:54] sevenseacat: the trick is to not peg yourself in as "just" a rails developer
[09:24:42] RougeR: yeah, thats a little tricky when i only know rails. im happy to learn and apply for jobs using other frameworks
[09:25:23] RougeR: past jobs were networ/security based
[09:25:27] sevenseacat: everything youve learned is specific to rails? there's nothing general in there, about ruby or web dev as a whole?
[09:26:20] dionysus69: There was like 1 vacancy in Georgia (where I am from) and I got it :D
[09:27:11] dionysus69: rails is not really used in my region, massively dominated by php and .net frameworks
[09:27:21] roshanavand: has joined #RubyOnRails
[09:27:38] sevenseacat: same here, which is why I do remote work
[09:27:43] RougeR: sevenseacat: i know ruby and python decently well
[09:27:54] RougeR: but my html/css/js is mediocore. i hate front end dev work
[09:28:29] RougeR: ideally id want a combined backend/devops role
[09:28:36] dionysus69: oh, that sucks, I wouldn't think Rails wouldn't be popular in AU :S
[09:28:48] Charliebr73: has joined #RubyOnRails
[09:28:48] sevenseacat: AU is a very big place :P
[09:28:52] RougeR: im uk, there is stuff about
[09:28:56] tbuehlmann: my current company doesn't find rails developers ¯\_(ツ)_/¯
[09:29:51] RougeR: this seems like my kind of job, but its a bit above my level
[09:29:52] RougeR: https://loot.workable.com/j/9421AAE8A0
[09:29:56] sevenseacat: i'm interviewing for elixir roles atm. who would have thought they would be easier to find out about
[09:29:57] dionysus69: this channel seems like a nice place for recruitment
[09:30:02] RougeR: might try improve my project and apply anyway
[09:30:10] Charliebr73: It took my current employer three rounds of interviews to find a Rails developer, in that case, me.
[09:30:33] Charliebr73: They advertised twice before but did not appoint anyone
[09:30:43] RougeR: what level?
[09:31:16] Charliebr73: I just came from a junior job. My first job as a middle level developer
[09:31:38] RougeR: i would love if companies wanted people to do backend/devops combined more
[09:31:48] RougeR: it makes far more sense than full stack imo
[09:31:59] dionysus69: small companies do, like mine, I am doing everything xD
[09:32:15] Charliebr73: I was hired as a fullstack though I come from a backend background
[09:32:19] RougeR: yeah i dont want to do frontend if i can avoid it
[09:32:48] dionysus69: I imagine even front end devs dont like front end
[09:32:55] RougeR: i disagree
[09:32:57] RougeR: some love it
[09:33:01] Charliebr73: I don't mind. I like learning new things. And now I have the chance to learn AngularJS
[09:33:03] dionysus69: browser wars still hasn't ended unfortunately
[09:33:27] Charliebr73: Don't think browsers was will ever end
[09:33:34] Jameser: has joined #RubyOnRails
[09:33:39] RougeR: i just think javascript is dreadful. and css is a horrid styling language
[09:34:02] dionysus69: it could, humanity could exhaust this topic soon and think of it as a standardized software
[09:34:10] Charliebr73: The problem with Javascript, imho, is that there are too many frameworks for it
[09:34:30] RougeR: that and its badly designed as a language
[09:34:33] RougeR: loosely typed
[09:34:41] helpa: http://i.imgur.com/m9m3wr9.gif
[09:35:11] Charliebr73: Javascript was never created to be that popular of a language. It happened and then it got out of control. LOL
[09:35:33] RougeR: then frontend devs decided to have a crack at backend. hence node was born
[09:35:48] RougeR: enough of that
[09:36:10] Charliebr73: They could not help themselves!
[09:36:47] Charliebr73: So at the moment I am working on a Rails API with a front end of AngularJS
[09:36:58] Charliebr73: Does anyone here work with Redis on Rails?
[09:37:09] Charliebr73: I am having issues of Redis hanging at times
[09:37:15] Charliebr73: even when using Resque
[09:37:28] RougeR: although i was goin to ask in here. does anyone know a way of generating meaningful seed data to perform statistical analysis on
[09:37:58] RougeR: seems like we both arnt much use to each other ;)
[09:43:05] RougeR: ill throw it on the "deal with this later" pile.
[09:44:14] RougeR: i suspect ill be using nested each loops, random samples and case statements to try add some correlation
[09:50:44] conta: has joined #RubyOnRails
[10:02:16] conta: has joined #RubyOnRails
[10:03:38] KeyJoo: has joined #RubyOnRails
[10:08:46] KeyJoo: irc is sleep? have a good day!
[10:11:21] conta: has joined #RubyOnRails
[10:11:56] ellcs: has joined #RubyOnRails
[10:13:27] lxsameer: has joined #RubyOnRails
[10:14:10] lxsameer: has joined #RubyOnRails
[10:21:23] apparition47: has joined #RubyOnRails
[10:22:12] yottanami: has joined #RubyOnRails
[10:23:00] yottanami: How can I access an action from application controller of a Gem?
[10:23:29] yottanami: for example how can I access current_user from this controller http://dpaste.com/15H7VMW
[10:23:38] Jameser: has joined #RubyOnRails
[10:24:00] yottanami: I also can move these actions to another controller and it is not important for me to be in ApplicationController
[10:27:40] alfiemax: has joined #RubyOnRails
[10:42:21] srinidhi: has joined #RubyOnRails
[10:51:23] GodFather: has joined #RubyOnRails
[11:01:41] roshanavand: has joined #RubyOnRails
[11:31:51] lxsameer: has joined #RubyOnRails
[11:35:00] roshanavand: has joined #RubyOnRails
[11:36:38] jottr: has joined #RubyOnRails
[11:39:11] Cavallari: has joined #RubyOnRails
[11:45:01] ellcs: has joined #RubyOnRails
[11:46:04] rfoust: has joined #RubyOnRails
[11:46:37] srinidhi: has joined #RubyOnRails
[12:06:43] dblessing: has joined #RubyOnRails
[12:12:07] lxsameer: has joined #RubyOnRails
[12:12:27] mostlybadfly: has joined #RubyOnRails
[12:22:02] lxsameer: has joined #RubyOnRails
[12:30:06] lxsameer: has joined #RubyOnRails
[12:34:52] context: has joined #RubyOnRails
[12:38:30] context: has left #RubyOnRails: ()
[12:41:38] Cavallari1: has joined #RubyOnRails
[12:53:39] eelster: has joined #RubyOnRails
[12:56:10] ellcs: has joined #RubyOnRails
[13:00:00] Technodrome: has joined #RubyOnRails
[13:31:45] roshanavand: has joined #RubyOnRails
[13:37:06] ellcs: has left #RubyOnRails: ()
[13:49:28] johndunn: has joined #RubyOnRails
[13:53:05] lxsameer: has joined #RubyOnRails
[13:57:10] krawchyk: has joined #RubyOnRails
[14:03:23] alfiemax: has joined #RubyOnRails
[14:06:00] nOwz: has joined #RubyOnRails
[14:12:20] lxsameer: has joined #RubyOnRails
[14:16:05] eelster: has joined #RubyOnRails
[14:19:31] lxsameer: has joined #RubyOnRails
[14:26:18] krawchyk: has joined #RubyOnRails
[14:29:06] krawchyk: has joined #RubyOnRails
[15:00:04] nOwz: has joined #RubyOnRails
[15:04:38] jottr: has joined #RubyOnRails
[15:17:00] lxsameer: has joined #RubyOnRails
[15:17:05] Technodrome: has joined #RubyOnRails
[15:18:54] DrYockel1: has joined #RubyOnRails
[15:27:18] lxsameer: has joined #RubyOnRails
[15:32:52] hfp_work: has joined #RubyOnRails
[15:36:23] apeiros: has joined #RubyOnRails
[15:37:07] lxsameer: has joined #RubyOnRails
[15:42:15] jcarl43: has joined #RubyOnRails
[15:45:23] lxsameer: has joined #RubyOnRails
[15:45:45] dbugger_: has joined #RubyOnRails
[15:45:59] Technodrome: has joined #RubyOnRails
[15:46:11] uks: has joined #RubyOnRails
[15:52:15] Andr3as: has joined #RubyOnRails
[15:52:45] orbyt_: has joined #RubyOnRails
[15:53:14] mikecmpbll: has joined #RubyOnRails
[16:07:11] lxsameer: has joined #RubyOnRails
[16:10:18] cagomez: has joined #RubyOnRails
[16:10:50] eelster: has joined #RubyOnRails
[16:16:44] Saukk: has joined #RubyOnRails
[16:17:06] lxsameer: has joined #RubyOnRails
[16:27:16] lxsameer: has joined #RubyOnRails
[16:31:35] apeiros: has joined #RubyOnRails
[16:35:02] Technodrome: has joined #RubyOnRails
[16:37:16] lxsameer: has joined #RubyOnRails
[16:41:58] cagomez: in Rspec, how can I test that a class is receiving `@some_var = value` ? I can do this: `expect(obj).to receive(:some_var=).with(value)` but `receive(:@some_var=)` doesn't work
[16:42:22] sagax: has joined #RubyOnRails
[16:44:31] johndunn: has left #RubyOnRails: ()
[16:44:32] orbyt_: has joined #RubyOnRails
[16:47:15] lxsameer: has joined #RubyOnRails
[16:54:25] GodFather: has joined #RubyOnRails
[17:01:12] jottr: has joined #RubyOnRails
[17:02:12] apeiros: cagomez: you can't
[17:02:35] apeiros: what you can test is whether @some_var has value at some point, or whether an actual setter method has been called.
[17:03:11] apeiros: but assignment itself is not a method call and hence your object is not "receiving" anything.
[17:05:01] eelster: some_var= is a method, @sum_var= is not, so receive(:some_var=) works because that's a method name.
[17:10:43] cagomez: eelster: that makes sense. but doesn't the latter go through https://ruby-doc.org/core-2.5.1/Object.html#method-i-instance_variable_set ?
[17:11:00] braincrash: has joined #RubyOnRails
[17:11:25] cagomez: (ie :@sum_var= is not a method per se, but it can be tested through `instance_variable_set`)
[17:11:51] apeiros: eelster: no, somevar= is not a method either
[17:12:07] apeiros: an explicit receiver is required for setter methods. otherwise it's always variable assignment.
[17:12:11] lxsameer: has joined #RubyOnRails
[17:12:46] eelster: Wait so when you use something like attr_writer :test it doesn't write the method
[17:12:47] apeiros: i.e. self.somevar= is, or any_expression.somevar= (and honestly, "somevar" is a misnomer there because it's really somemethod=)
[17:12:56] eelster: def test=(test); @test = test; end
[17:13:08] apeiros: yes. it does. but you can't call test= without an explicit receiver.
[17:13:17] eelster: Oh well of course.
[17:13:44] apeiros: there are levels of knowledge where that's in no way an "of course", and I think cagomez is there atm.
[17:14:09] eelster: I wasn't saying use it without a receiver. I was just leaving off the `expect(obj).to` for brevity as the receive method was the only part I was really talking about.
[17:14:16] eelster: Sorry about that.
[17:14:59] apeiros: no worries. it's usually fine, but I think sometimes extra pedantry is warranted :D
[17:22:03] lxsameer: has joined #RubyOnRails
[17:22:59] jhill__: has joined #RubyOnRails
[17:30:12] cschneid: has joined #RubyOnRails
[17:32:04] lxsameer: has joined #RubyOnRails
[17:36:13] moei: has joined #RubyOnRails
[17:38:09] jottr: has joined #RubyOnRails
[17:42:02] lxsameer: has joined #RubyOnRails
[17:45:09] orbyt_: has joined #RubyOnRails
[17:49:05] uksio: has joined #RubyOnRails
[17:52:04] lxsameer: has joined #RubyOnRails
[17:52:05] srinidhi: has joined #RubyOnRails
[17:52:53] dionysus69: has joined #RubyOnRails
[17:55:42] Cavallari: has joined #RubyOnRails
[17:59:49] dblessing: has joined #RubyOnRails
[18:02:12] lxsameer: has joined #RubyOnRails
[18:12:05] lxsameer: has joined #RubyOnRails
[18:16:59] jottr: has joined #RubyOnRails
[18:20:10] Technodrome: has joined #RubyOnRails
[18:22:19] lxsameer: has joined #RubyOnRails
[18:23:48] csk157: has joined #RubyOnRails
[18:25:48] dblessing: has joined #RubyOnRails
[18:32:14] lxsameer: has joined #RubyOnRails
[18:34:01] alfiemax: has joined #RubyOnRails
[18:35:18] dionysus69: has joined #RubyOnRails
[18:39:47] cschneid: has joined #RubyOnRails
[18:42:15] lxsameer: has joined #RubyOnRails
[18:43:42] Puffball_: has joined #RubyOnRails
[18:44:00] nickjj_: has joined #RubyOnRails
[18:44:38] dviola: has joined #RubyOnRails
[18:45:44] sameerynho: has joined #RubyOnRails
[18:46:16] sonOfRa_: has joined #RubyOnRails
[18:48:34] blitz_: has joined #RubyOnRails
[18:52:03] Fire-Dragon-DoL-: has joined #RubyOnRails
[18:52:09] lxsameer: has joined #RubyOnRails
[18:53:38] beingjohnm: has joined #RubyOnRails
[18:58:25] segy: has joined #RubyOnRails
[18:58:58] cschneid: has joined #RubyOnRails
[19:00:39] srinidhi: has joined #RubyOnRails
[19:02:14] lxsameer: has joined #RubyOnRails
[19:04:27] jottr: has joined #RubyOnRails
[19:07:17] LightStalker: has joined #RubyOnRails
[19:12:11] lxsameer: has joined #RubyOnRails
[19:16:19] jane_booty_doe: has joined #RubyOnRails
[19:19:46] weaksauce: has joined #RubyOnRails
[19:22:14] lxsameer: has joined #RubyOnRails
[19:24:27] Technodrome: has joined #RubyOnRails
[19:30:28] orbyt_: has joined #RubyOnRails
[19:32:22] lxsameer: has joined #RubyOnRails
[19:39:47] schneider: has joined #RubyOnRails
[19:42:06] jottr: has joined #RubyOnRails
[19:42:08] lxsameer: has joined #RubyOnRails
[19:52:10] lxsameer: has joined #RubyOnRails
[19:53:02] cschneid: has joined #RubyOnRails
[20:02:15] lxsameer: has joined #RubyOnRails
[20:09:41] Technodrome: has joined #RubyOnRails
[20:11:06] ellcs: has joined #RubyOnRails
[20:12:04] lxsameer: has joined #RubyOnRails
[20:16:05] mikecmpbll: has joined #RubyOnRails
[20:20:51] GreekFreak: has joined #RubyOnRails
[20:22:07] lxsameer: has joined #RubyOnRails
[20:22:08] GreekFreak: I am having trouble installing ruby 2.0.0-p195 so I wanted to know what is the latest version of ruby that Rails 3.2.18 supports (and yes, I know 3.2 is no longer supported. I'm doing a re-write)
[20:30:21] cschneid: has joined #RubyOnRails
[20:31:39] apeiros: GreekFreak: I'd compare release dates
[20:31:43] tdy: has joined #RubyOnRails
[20:32:19] lxsameer: has joined #RubyOnRails
[20:33:47] alfiemax: has joined #RubyOnRails
[20:34:52] uks: has joined #RubyOnRails
[20:34:55] ellcs: has left #RubyOnRails: ()
[20:35:13] GreekFreak: apeiros, I never thought of that. Thanks
[20:36:23] orbyt_: has joined #RubyOnRails
[20:42:05] lxsameer: has joined #RubyOnRails
[20:44:45] acovrig: has joined #RubyOnRails
[20:45:02] acovrig: Is it possible to have rails work as a socket.io server?
[20:45:44] lupine: rails5 has actioncable stuff, which is an abstration on top of websockets
[20:45:57] lupine: you'll want to be using something like puma rather than something like unicorn
[20:49:17] cagomez: has joined #RubyOnRails
[20:50:36] desperek: has joined #RubyOnRails
[20:52:04] lxsameer: has joined #RubyOnRails
[20:52:06] havenwood: lupine: Why not unicorn?
[20:52:24] lupine: because the cost in RAM MiB-seconds is prohibitive
[20:52:29] fryguy: process-based versus thread based
[20:52:50] lupine: (and most crazy kids deploying to cloudy things have that as their principal cost)
[20:54:48] guacamole: has joined #RubyOnRails
[20:57:21] havenwood: I do like Puma.
[20:57:26] havenwood: lupine: I haven't noticed a large MB per MiB/sec discrepancy between Puma and Unicorn.
[20:57:37] jane_booty_doe: has joined #RubyOnRails
[20:58:30] havenwood: lupine: On Techempower, as a random example, Rails Puma and Unicorn seem right on top of each other, given the same resources: https://www.techempower.com/benchmarks/previews/round16/#section=data-r16&hw=ph&test=json
[20:59:17] havenwood: Puma is the Rails default, so Omakase. ;-)
[21:01:24] havenwood: Speaking of Unicorn, I saw Jeremy Evan's repo unicorn-lockdown - which looks like a really neat way to run Unicorn on OpenBSD: https://github.com/jeremyevans/unicorn-lockdown
[21:01:47] havenwood: "chroot, privdrop, fork+exec, and pledge"
[21:02:21] lxsameer: has joined #RubyOnRails
[21:07:26] cschneid: has joined #RubyOnRails
[21:07:43] cagomez: if `passport` belongs to `student`, and I do `Passport.create(student: my_student)`, is it expected that `my_student` will have it's `passport` association loaded?
[21:12:04] lxsameer: has joined #RubyOnRails
[21:16:07] lupine: havenwood: it's about request concurrency
[21:16:18] lupine: how much RAM do you need to service N requests at once?
[21:16:41] Technodrome: has joined #RubyOnRails
[21:16:52] lupine: in unicorn-alikes, each request occupies a process (~300-600MiB) for the time it takes to run. in puma-alikes, it does not
[21:18:43] ghormoon: has joined #RubyOnRails
[21:20:13] cschneid: has joined #RubyOnRails
[21:22:14] lxsameer: has joined #RubyOnRails
[21:22:42] acovrig: lupine: I’ve used actioncable and like it, but an app dev can’t use actioncable (as far as i know), do you know of any way to use socket.io or websockets in rails (or, mostly of of scope of this channel - a js client that works with actioncable)
[21:23:15] lupine: the JS side of things, I'm afraid I have no idea about
[21:23:25] lupine: but it's not exactly difficult to consume raw websockets
[21:23:55] acovrig: true, but does actioncable produce raw websickets? He is able to see the pings and a welcome message, but nothing in any cables
[21:24:23] acovrig: and I’d rather not boradcast private data to any websocket-connected deivce for snooping
[21:32:04] lxsameer: has joined #RubyOnRails
[21:36:42] cschneid: has joined #RubyOnRails
[21:41:25] dionysus69: are there no plans to implement a shorter version of this? Rails.application.credentials
[21:41:59] drim: has joined #RubyOnRails
[21:42:12] lxsameer: has joined #RubyOnRails
[21:50:11] cschneid: has joined #RubyOnRails
[21:51:34] Cache_Money: has joined #RubyOnRails
[21:52:30] tcopeland: has joined #RubyOnRails
[21:54:03] alfiemax: has joined #RubyOnRails
[21:54:37] jane_booty_doe: has joined #RubyOnRails
[22:00:36] cschneid: has joined #RubyOnRails
[22:00:46] ur5us: has joined #RubyOnRails
[22:02:27] Radar: GOOD MORNING
[22:10:22] SteenJobs: has joined #RubyOnRails
[22:13:27] johndunn: has joined #RubyOnRails
[22:15:10] havenwood: lupine: The TechEmpower benchmarks I linked are showing RPS for each with a fixed amount of RAM. What I'm saying is that the throughput per megabyte is roughly equivalent.
[22:15:43] havenwood: lupine: With ActionCable, both are using Rack Hijack anyways. ¯\_(ツ)_/¯
[22:17:57] lupine: I can't view the benchmarks, so can't comment directly on the methodology. if they've found a way to make unicorn be more ram-efficient than it generally is, that's all good though
[22:18:13] lupine: do they spin off a thread per hijacked socket or something?
[22:22:09] lxsameer: has joined #RubyOnRails
[22:23:26] Technodrome: has joined #RubyOnRails
[22:29:38] jstrong: has joined #RubyOnRails
[22:29:54] jstrong: I’m having an issue whereby my loaded Rails engine models are not available when I run rspec.
[22:30:35] alfiemax: has joined #RubyOnRails
[22:32:17] lxsameer: has joined #RubyOnRails
[22:33:50] jstrong: That would be because I’m an idiot.
[22:35:53] havenwood: lupine: In the benchmark Unicorn and Puma both autotune to match RAM: https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/Ruby/rails/config/unicorn.rb
[22:36:12] lupine: yeah, that's not what I was saying
[22:36:36] lupine: what I'm saying is that handling 2 concurrent requests will take twice as much ram with unicorn vs. puma
[22:36:40] havenwood: lupine: With a copy-on-write friendly GC, Unicorn does pretty well with RAM.
[22:36:59] lupine: if concurrency happens to be 1, they'll be more or less the same, I'm sure
[22:37:33] havenwood: lupine: What I'm saying, is that with multiprocess machines, both tuned, they get about the same number of requests per second with the same amount of RAM.
[22:37:44] lupine: right, but that doesn't touch on concurrency
[22:38:10] lupine: which rather matters since peak concurrency determines how much it's going to cost to run the thing
[22:40:47] havenwood: lupine: You can always use Rainbows! ;-)
[22:41:47] havenwood: Then Unicorn can handle slow connections as well.
[22:41:49] wethu: has joined #RubyOnRails
[22:42:12] lxsameer: has joined #RubyOnRails
[22:42:47] havenwood: I keep hearing buzz about Iodine lately (maybe mostly from the author, but still): https://github.com/boazsegev/iodine
[22:43:33] lupine: I mostly deal with giant ruby processes that actually can't cope without being restarted every minute or so
[22:43:45] lupine: funny old world
[22:44:29] brechbohne92: has joined #RubyOnRails
[22:51:15] dblessing: has joined #RubyOnRails
[22:52:14] lxsameer: has joined #RubyOnRails
[22:56:54] orbyt_: has joined #RubyOnRails
[22:58:13] alfiemax: has joined #RubyOnRails
[22:58:13] ebsen: has joined #RubyOnRails
[23:05:04] deevil: has joined #RubyOnRails
[23:17:26] cschneid: has joined #RubyOnRails
[23:35:30] alfiemax: has joined #RubyOnRails
[23:37:18] lxsameer: has joined #RubyOnRails
[23:47:12] lxsameer: has joined #RubyOnRails
[23:49:13] johndunn: has left #RubyOnRails: ()
[23:50:20] cschneid: has joined #RubyOnRails
[23:51:48] Technodrome: has joined #RubyOnRails
[23:55:55] moei: has joined #RubyOnRails
[23:56:40] SteenJobs: has joined #RubyOnRails