« Back to channel list

#RubyOnRails - 03 December 2017

« Back 1 day Forward 1 day »
[00:02:16] jrabe: has joined #RubyOnRails
[00:05:23] kapil___: has joined #RubyOnRails
[01:08:52] mr-spoon: has joined #RubyOnRails
[01:18:51] apparition: has joined #RubyOnRails
[01:24:34] truenito: has joined #RubyOnRails
[01:24:54] mr-spoon: has joined #RubyOnRails
[01:33:25] cschneid: has joined #RubyOnRails
[01:34:11] ur5us: has joined #RubyOnRails
[02:02:28] mr-spoon: has joined #RubyOnRails
[02:04:21] ahrs: has joined #RubyOnRails
[02:22:25] christiandsg: has joined #RubyOnRails
[02:31:59] mikecmpbll: has joined #RubyOnRails
[02:36:03] christiandsg: has joined #RubyOnRails
[02:39:44] safetypin: has joined #RubyOnRails
[02:48:07] xcesariox: has joined #RubyOnRails
[02:49:56] safetypin: has joined #RubyOnRails
[03:10:06] mr-spoon: has joined #RubyOnRails
[03:31:55] orbyt_: has joined #RubyOnRails
[03:46:23] safetypin: has joined #RubyOnRails
[03:52:40] wethu: has joined #RubyOnRails
[03:59:36] cschneid: has joined #RubyOnRails
[04:05:22] safetypin: has joined #RubyOnRails
[04:19:57] ResidentBiscuit: has joined #RubyOnRails
[04:20:38] PresidentBiscuit: has joined #RubyOnRails
[04:27:00] fourcolors: has joined #RubyOnRails
[04:30:19] mr-spoon: has joined #RubyOnRails
[04:46:21] xlegoman: has joined #RubyOnRails
[05:04:20] one_zero: has joined #RubyOnRails
[05:21:11] safetypin: has joined #RubyOnRails
[05:43:34] kapil___: has joined #RubyOnRails
[05:45:34] Technodrome: has joined #RubyOnRails
[05:58:20] fourcolors: has joined #RubyOnRails
[06:01:42] kapil___: I have a = [ [ 1, 2, 3], [ 4, 5, 6] ] b = [ A, B, C, D, E, F] I want c = [ [ { A: 1 }, { B: 2 }, { C: 3 } ], [ { D: 4 }, { E : 5 }, { F: 6 } ]
[06:01:42] kapil___: 11:21 AM How can I do it?
[06:03:32] christiandsg: has joined #RubyOnRails
[06:06:52] nickjj_: has joined #RubyOnRails
[06:28:10] srinidhi: has joined #RubyOnRails
[06:50:02] mr-spoon: has joined #RubyOnRails
[07:18:48] cschneid: has joined #RubyOnRails
[07:19:19] mikecmpbll: has joined #RubyOnRails
[07:24:18] konos5: has joined #RubyOnRails
[07:27:18] mtkd: has joined #RubyOnRails
[07:29:21] KeyJoo: has joined #RubyOnRails
[07:48:52] cschneid: has joined #RubyOnRails
[07:51:08] mr-spoon: has joined #RubyOnRails
[07:56:10] cschneid: has joined #RubyOnRails
[07:58:24] Saukk: has joined #RubyOnRails
[08:11:08] cschneid: has joined #RubyOnRails
[08:55:04] reber: has joined #RubyOnRails
[08:55:38] dionysus70: has joined #RubyOnRails
[09:05:29] christiandsg: has joined #RubyOnRails
[09:19:14] marr: has joined #RubyOnRails
[09:31:28] mtkd: has joined #RubyOnRails
[09:32:11] AzaToth: has joined #RubyOnRails
[09:32:50] iamarun: has joined #RubyOnRails
[09:39:09] Andr3as: has joined #RubyOnRails
[09:39:45] quazimodo: has joined #RubyOnRails
[09:42:32] Andr3as: morning everyone.. i've a bit of a design question... i have a user, instrument and subscription model... a user can have many subscriptions but only one can be active (thats worked out already)
[09:43:23] Andr3as: for the subscription the user can choose which instruments he wants to subscribe.. this can be 1, 2 or "all"
[09:43:58] Andr3as: and i want to save the subscribed instruments in the subscription record.. that's right now an array
[09:44:30] Andr3as: however, i'd like to have it kinda like a "has_many" thing that i could loop through the instruments
[09:44:51] Andr3as: is there an elegant way built in already to do that
[11:03:42] sameerynho: has joined #RubyOnRails
[11:32:26] fourcolors: has joined #RubyOnRails
[11:35:59] mtkd: has joined #RubyOnRails
[11:40:10] KeyJoo: has joined #RubyOnRails
[11:51:42] mikecmpbll: has joined #RubyOnRails
[11:59:50] uksio: has joined #RubyOnRails
[12:18:00] arBmind: has joined #RubyOnRails
[12:29:05] bob_f: has joined #RubyOnRails
[12:29:13] GodFather: has joined #RubyOnRails
[12:40:45] bob_f: Hello. I have an ActiveJob that has an `after_perform` callback. I notice this doesn't get called if an error is raised - is there something I can use that will always be called no matter what ?
[12:41:47] apparition: has joined #RubyOnRails
[12:56:20] dminuoso: Andr3as: Sorry, Ruby has no way of looping through arrays of things.
[12:57:24] defsdoor: has joined #RubyOnRails
[13:00:10] Andr3as: k, thx dminuoso
[13:00:24] dminuoso: Andr3as: I hope you go the sarcasm in that.
[13:05:41] Andr3as: i did not.. but my q was something else.. i want an "subscription.instruments" method in the model and want to avoid querying the Instrument model out of the subscription model
[13:06:28] guardianx: has joined #RubyOnRails
[13:07:07] christiandsg: has joined #RubyOnRails
[13:10:17] DrYockel: has joined #RubyOnRails
[13:18:59] DrYockel: has joined #RubyOnRails
[13:40:38] mtkd: has joined #RubyOnRails
[13:47:02] defsdoor: has joined #RubyOnRails
[14:54:02] truenito: has joined #RubyOnRails
[15:01:02] KeyJoo: has joined #RubyOnRails
[15:29:28] dviola: has joined #RubyOnRails
[15:38:30] safetypin: has joined #RubyOnRails
[15:41:41] truenito: has joined #RubyOnRails
[15:41:43] xlegoman: has joined #RubyOnRails
[15:55:46] safetypin: has joined #RubyOnRails
[15:59:20] truenito: has joined #RubyOnRails
[16:04:04] marr: has joined #RubyOnRails
[16:07:15] NL3limin4t0r: has joined #RubyOnRails
[16:45:25] mtkd: has joined #RubyOnRails
[16:52:22] orbyt_: has joined #RubyOnRails
[16:56:42] fourcolors: has joined #RubyOnRails
[17:00:39] DrYockel: has joined #RubyOnRails
[17:59:44] Technodrome: has joined #RubyOnRails
[18:07:45] Dimik: has joined #RubyOnRails
[18:11:55] cschneid: has joined #RubyOnRails
[18:36:17] NL3limin4t0r: has joined #RubyOnRails
[18:51:25] Saukk: has joined #RubyOnRails
[18:59:26] kies: has joined #RubyOnRails
[19:20:56] ornerymoose: has joined #RubyOnRails
[19:31:57] thyRootest: has joined #RubyOnRails
[19:33:55] AlHafoudh: guys, is it possible to keep completed jobs in sidekiq?
[19:34:04] AlHafoudh: i need to query the jobs after they were finished
[19:34:42] dminuoso: AlHafoudh: No, but you could trivially push them into another redis queue or the database at the end.
[20:14:29] Disavowed: has joined #RubyOnRails
[20:14:54] Exhiled: has joined #RubyOnRails
[20:16:26] Disavowed: Morning all. first time doing a Rails project in a while - is Devise still the way to go for users and authentication? Requirement is FB, Google or email login if that helps at all.
[20:23:37] dminuoso: Disavowed: Devise just provides you an interface over Warden.
[20:24:13] dminuoso: Disavowed: Facebook and Google would imply OAuth2, email login would imply locally. With Devise you can do this by providing multiple login strategies.
[20:24:41] dminuoso: Disavowed: You might want to look into omniauth.
[20:30:08] KeyJoo: has joined #RubyOnRails
[20:35:43] KeyJoo: has joined #RubyOnRails
[21:02:14] safetypin: has joined #RubyOnRails
[21:15:29] npgm: has joined #RubyOnRails
[21:21:28] thyRootest: has joined #RubyOnRails
[21:29:53] Exagone313: has joined #RubyOnRails
[21:30:24] safetypin: has joined #RubyOnRails
[21:39:33] safetypin: has joined #RubyOnRails
[21:48:54] NoGodDamnIdea: has joined #RubyOnRails
[21:50:51] sameerynho: has joined #RubyOnRails
[22:12:58] mtkd: has joined #RubyOnRails
[22:13:27] DTZUZO: has joined #RubyOnRails
[22:13:58] armyriad: has joined #RubyOnRails
[22:29:36] ShalokShalom: has joined #RubyOnRails
[22:33:19] Cyrus: has joined #RubyOnRails
[22:40:51] quazimodo: has joined #RubyOnRails
[22:41:04] silvermine: has joined #RubyOnRails
[22:58:04] Disavowed: dminuoso: That's exactly what I was looking at! Thank you so much for the pointer! God it's good to be back in Rails. I got roped into some Flask and Django lately, and it's not been anywhere near as much fun as this.
[23:02:13] dminuoso: Disavowed: Im sure you meant "what I was looking for", otherwise I'm not sure how that was worthy of a thank you.
[23:03:35] ornerymoose: has joined #RubyOnRails
[23:05:10] webguynow: has joined #RubyOnRails
[23:10:48] GodFather_: has joined #RubyOnRails
[23:17:55] NoGodDamnIdea: has joined #RubyOnRails
[23:27:03] Disavowed: Oh I was skimming the docs on omniauth around when I picked up your reply so it was more of a 'thank you for letting me know I'm looking in the right place'. Sorry, I was a little context-free there.
[23:32:41] simmerz: has joined #RubyOnRails
[23:47:11] ShalokShalom: has joined #RubyOnRails
[23:47:57] ShalokShalom: has joined #RubyOnRails
[23:57:29] Papierkorb: has left #RubyOnRails: ("Konversation terminated!")
[23:57:52] hervie: has joined #RubyOnRails