« Back to channel list

#RubyOnRails - 11 March 2019

« Back 1 day Forward 1 day »
[00:02:51] orbyt_: has joined #RubyOnRails
[00:03:32] jottr: has joined #RubyOnRails
[00:19:24] jottr: has joined #RubyOnRails
[00:35:12] jottr: has joined #RubyOnRails
[00:44:15] Technodrome: has joined #RubyOnRails
[00:47:53] cnsvc: has joined #RubyOnRails
[00:48:12] kvda: has joined #RubyOnRails
[00:50:20] mangold: has joined #RubyOnRails
[00:51:04] jottr: has joined #RubyOnRails
[00:56:30] mr-spoon: has joined #RubyOnRails
[01:06:53] jottr: has joined #RubyOnRails
[01:12:48] kvda: has joined #RubyOnRails
[01:16:45] orbyt_: has joined #RubyOnRails
[01:26:07] hnanon_: has joined #RubyOnRails
[01:29:19] tdy: has joined #RubyOnRails
[01:33:30] jottr: has joined #RubyOnRails
[01:37:34] hnanon_: has joined #RubyOnRails
[01:37:57] orbyt_: has joined #RubyOnRails
[01:44:57] mangold: has joined #RubyOnRails
[01:49:26] jottr: has joined #RubyOnRails
[01:58:14] fragamus: has joined #RubyOnRails
[02:02:41] quazimodo: has joined #RubyOnRails
[02:05:19] jottr: has joined #RubyOnRails
[02:10:04] hnanon_: has joined #RubyOnRails
[02:11:34] quazimodo: has joined #RubyOnRails
[02:16:15] mangold: has joined #RubyOnRails
[02:18:18] orbyt_: has joined #RubyOnRails
[02:21:08] jottr: has joined #RubyOnRails
[02:25:32] quazimodo: has joined #RubyOnRails
[02:26:10] lankanmon: has joined #RubyOnRails
[02:36:57] jottr: has joined #RubyOnRails
[02:48:51] davidfetter: has joined #RubyOnRails
[02:52:46] jottr: has joined #RubyOnRails
[02:59:34] kvda: has joined #RubyOnRails
[03:08:36] jottr: has joined #RubyOnRails
[03:20:43] kvda: has joined #RubyOnRails
[03:24:29] jottr: has joined #RubyOnRails
[03:37:34] bambanx: has joined #RubyOnRails
[03:40:16] jottr: has joined #RubyOnRails
[03:50:21] kvda: has joined #RubyOnRails
[03:56:06] jottr: has joined #RubyOnRails
[03:57:14] Saukk: has joined #RubyOnRails
[03:57:26] bga57: has joined #RubyOnRails
[04:09:39] braincrash: has joined #RubyOnRails
[04:12:07] jottr: has joined #RubyOnRails
[04:26:58] gambl0r3: has joined #RubyOnRails
[04:27:46] jottr: has joined #RubyOnRails
[04:54:32] jottr: has joined #RubyOnRails
[05:20:42] jottr: has joined #RubyOnRails
[05:40:37] segy: has joined #RubyOnRails
[05:46:55] jottr: has joined #RubyOnRails
[06:02:46] jottr: has joined #RubyOnRails
[06:07:01] dionysus69: has joined #RubyOnRails
[06:11:31] reber: has joined #RubyOnRails
[06:15:30] conta: has joined #RubyOnRails
[06:18:35] jottr: has joined #RubyOnRails
[06:20:24] emers2n: has joined #RubyOnRails
[06:20:59] emers2n: When I push my RoR app to heroku, it runs the tasks once, but I only want the tasks to run when I have them scheduled. How can I prevent tasks from running on init?
[06:29:49] srinidhi: has joined #RubyOnRails
[06:34:27] jottr: has joined #RubyOnRails
[06:39:13] bambanx: why all peopleuse heroke is expensive
[06:50:16] jottr: has joined #RubyOnRails
[06:51:41] davidfetter: has joined #RubyOnRails
[07:06:07] jottr: has joined #RubyOnRails
[07:10:25] dionysus69: emers2n: what tasks are you talking about? sidekiq-cron?
[07:16:51] Ergo: has joined #RubyOnRails
[07:21:55] jottr: has joined #RubyOnRails
[07:37:45] jottr: has joined #RubyOnRails
[07:41:30] Technodrome: has joined #RubyOnRails
[07:53:36] jottr: has joined #RubyOnRails
[08:05:56] cnsvc: has joined #RubyOnRails
[08:09:24] jottr: has joined #RubyOnRails
[08:20:38] tdy1: has joined #RubyOnRails
[08:22:55] srinidhi: has joined #RubyOnRails
[08:23:57] lxsameer: has joined #RubyOnRails
[08:25:16] jottr: has joined #RubyOnRails
[08:31:44] cgfbee: has joined #RubyOnRails
[08:32:27] za1b1tsu: has joined #RubyOnRails
[08:33:02] mangold: has joined #RubyOnRails
[08:41:07] jottr: has joined #RubyOnRails
[08:49:22] segy: has joined #RubyOnRails
[08:56:42] mikecmpbll: has joined #RubyOnRails
[08:58:01] jottr: has joined #RubyOnRails
[09:13:48] jottr: has joined #RubyOnRails
[09:19:35] dionysus69: is there a drier method to retry tag generation if duplicate is found? https://gist.github.com/webzorg/15c72655186119b568ab3b50469234c8
[09:20:09] dionysus69: I do have db index:unique on tag column but I somehow dont want to rely on exception/rescue, is this a good method?
[09:22:00] tbuehlmann: solely relying on rails validations can lead to errors
[09:22:41] dionysus69: is race condition a threat in this situation?
[09:23:25] dionysus69: I didnt think of that cause the chance for collision is astronomically minimal anyway, chance of collision in race condition is astronomically minimal in power of two :D (in this situation)
[09:25:18] dionysus69: ok I also noticed this pattern on internet, rescue RecordNotUnique > retry, is that better?
[09:25:48] dionysus69: never used retry so not sure how it behaves exactly
[09:26:11] tbuehlmann: is this original code? do you just assign a random number?
[09:26:41] dionysus69: I just obfuscated the model and field names
[09:27:52] tbuehlmann: yeah, then go and rescue that exception. if you don't do it, errors could be raised
[09:28:11] tbuehlmann: do you really a need a random number, though? what purpose does it have?
[09:29:35] dionysus69: well, every user needs to have that tag for crypto address for ripple/stellar addresses ^.^ thats what happens when ledgers pretend to be blockchains
[09:30:57] tbuehlmann: okay, I don't have anything to add, then
[09:31:04] dionysus69: I guess I will go with rescueing ActiveRecord::RecordNotUnique
[09:34:23] mikecmpbll: has joined #RubyOnRails
[09:44:04] jottr: has joined #RubyOnRails
[10:27:13] za1b1tsu: so anyone using puma-dev with multiple projects? I am getting this: "Unable to load application: Gem::LoadError: You have already activated rack 1.6.11, but your Gemfile requires rack 1.6.8."
[10:45:06] lankanmon: has joined #RubyOnRails
[11:00:32] jottr_: has joined #RubyOnRails
[11:29:56] mangold: has joined #RubyOnRails
[11:44:38] gregf_: has joined #RubyOnRails
[12:37:42] jonno112: has joined #RubyOnRails
[12:51:06] uksio: has joined #RubyOnRails
[12:51:06] uks: has joined #RubyOnRails
[12:52:15] Dbugger: has joined #RubyOnRails
[13:11:52] danguita: has joined #RubyOnRails
[13:17:48] orbyt_: has joined #RubyOnRails
[13:57:05] Ergo: has joined #RubyOnRails
[14:15:44] foucist: has joined #RubyOnRails
[14:17:28] uks: has joined #RubyOnRails
[14:34:42] Ergo: has joined #RubyOnRails
[14:38:30] conta1: has joined #RubyOnRails
[14:53:16] uksio: has joined #RubyOnRails
[14:54:55] Ergo: has joined #RubyOnRails
[15:15:13] Ergo: has joined #RubyOnRails
[15:17:43] skryking_: has joined #RubyOnRails
[15:30:43] foucist_: has joined #RubyOnRails
[15:34:29] agent_white: has joined #RubyOnRails
[15:38:11] s00pcan_: has joined #RubyOnRails
[15:40:49] mangold: has joined #RubyOnRails
[15:44:01] Technodrome: has joined #RubyOnRails
[15:56:29] jaddison: has joined #RubyOnRails
[15:58:06] KeyJoo: has joined #RubyOnRails
[15:58:28] Sylario: has joined #RubyOnRails
[16:06:08] hnanon: has joined #RubyOnRails
[16:13:58] Arkantos: has joined #RubyOnRails
[16:18:34] [Butch]: has joined #RubyOnRails
[16:34:29] gambl0r3: has joined #RubyOnRails
[16:47:53] orbyt_: has joined #RubyOnRails
[16:52:55] tdy1: has joined #RubyOnRails
[17:04:28] Saukk: has joined #RubyOnRails
[17:11:10] Arkantos: has joined #RubyOnRails
[17:11:47] Ergo: has joined #RubyOnRails
[17:18:58] tekk: has joined #RubyOnRails
[17:20:12] tris: has joined #RubyOnRails
[17:20:26] baweaver: has joined #RubyOnRails
[17:23:40] hnanon: has joined #RubyOnRails
[17:42:33] Arkantos: has joined #RubyOnRails
[17:53:56] gambl0r3: has joined #RubyOnRails
[18:08:10] Arkantos: has joined #RubyOnRails
[18:16:40] ellcs: has joined #RubyOnRails
[18:18:13] dionysus70: has joined #RubyOnRails
[18:18:38] dionysus70: I know there are recommendations against using default_scopes for various reasons
[18:18:57] dionysus70: does this also apply to case like including models for papertrail? like this default_scope { includes(:versions) }
[18:19:14] dionysus70: are there any potential problems with these?
[18:19:33] jottr: has joined #RubyOnRails
[18:24:36] segy: has joined #RubyOnRails
[18:26:54] orbyt_: has joined #RubyOnRails
[18:28:04] beingjohnm: has joined #RubyOnRails
[18:40:56] orbyt_: has joined #RubyOnRails
[18:42:22] catbusters: has joined #RubyOnRails
[18:55:44] foucist: has joined #RubyOnRails
[19:11:22] defsdoor: has joined #RubyOnRails
[19:33:51] reber: has joined #RubyOnRails
[19:35:56] fragamus: has joined #RubyOnRails
[19:40:25] lunarkitty7: has joined #RubyOnRails
[19:55:40] hightower2: has joined #RubyOnRails
[20:00:31] mlt-: has joined #RubyOnRails
[20:07:19] ellcs: has joined #RubyOnRails
[20:14:45] foucist: has joined #RubyOnRails
[20:16:55] orbyt_: has joined #RubyOnRails
[20:18:41] ur5us: has joined #RubyOnRails
[20:36:49] cnsvc: has joined #RubyOnRails
[20:38:45] Arkantos: has joined #RubyOnRails
[20:51:33] orbyt_: has joined #RubyOnRails
[20:57:13] Ergo^: has joined #RubyOnRails
[21:35:43] cnsvc: has joined #RubyOnRails
[21:46:15] orbyt_: has joined #RubyOnRails
[21:50:35] Radar: GOOD MORNING
[21:57:08] foucist: has joined #RubyOnRails
[22:11:58] Inside: HELLO RADAR \o/
[22:14:05] podman: has joined #RubyOnRails
[22:27:05] hnanon: has joined #RubyOnRails
[22:44:23] jaddison: has joined #RubyOnRails
[22:48:01] Arkantos: has joined #RubyOnRails
[22:57:50] orbyt_: has joined #RubyOnRails
[23:06:16] orbyt_: has joined #RubyOnRails
[23:07:33] tekk: has joined #RubyOnRails
[23:11:12] Radar: Inside: Hey Inside :) How are things for you?
[23:23:46] hahuang65: Radar: HELLO
[23:24:35] Radar: hahuang65: Good morning to you too!
[23:24:56] hahuang65: how's it going
[23:37:57] MrCrackPotBuilde: has joined #RubyOnRails
[23:40:20] orbyt_: has joined #RubyOnRails