« Back to channel list

#RubyOnRails - 05 December 2018

« Back 1 day Forward 1 day »
[00:36:13] orbyt_: has joined #RubyOnRails
[00:54:03] bambanx: has joined #RubyOnRails
[00:54:11] lexileo: has joined #RubyOnRails
[00:58:39] sevenseacat: has joined #RubyOnRails
[01:00:39] blackmesa: has joined #RubyOnRails
[01:09:41] cschneid: has joined #RubyOnRails
[01:16:18] alan_w: has joined #RubyOnRails
[01:16:37] gavit: has joined #RubyOnRails
[01:41:34] cnsvc: has joined #RubyOnRails
[02:02:01] cnsvc: has joined #RubyOnRails
[02:05:38] jayjo: i'm trying to 'dockerize' a ruby on rails application - and I already have a running nginx instance with other services, is there a preferred way to pair these? Should I install unicorn into my rails image?
[02:32:25] ivanskie: has joined #RubyOnRails
[02:53:09] jaddison: has joined #RubyOnRails
[03:07:17] za1b1tsu: has joined #RubyOnRails
[03:09:34] segy: has joined #RubyOnRails
[03:09:49] crankharder: has joined #RubyOnRails
[03:11:23] Saukk: has joined #RubyOnRails
[03:16:16] mitt3ns: has joined #RubyOnRails
[03:46:26] alan_w: has joined #RubyOnRails
[04:04:39] ivanskie: has joined #RubyOnRails
[04:04:44] Gizmokid2005: has joined #RubyOnRails
[04:09:38] braincrash: has joined #RubyOnRails
[04:20:33] cschneid: has joined #RubyOnRails
[04:20:50] cnsvc: has joined #RubyOnRails
[04:25:58] bambanxx: has joined #RubyOnRails
[04:29:15] jasmith: has joined #RubyOnRails
[04:50:13] elcontrastador: has joined #RubyOnRails
[05:00:09] bambanx: has joined #RubyOnRails
[05:22:04] uksio: has joined #RubyOnRails
[06:05:57] reber: has joined #RubyOnRails
[06:06:10] gambl0re: has joined #RubyOnRails
[06:26:30] conta: has joined #RubyOnRails
[06:42:43] cschneid: has joined #RubyOnRails
[06:49:31] ur5us: has joined #RubyOnRails
[06:53:32] Exuma: has joined #RubyOnRails
[06:56:37] za1b1tsu: has joined #RubyOnRails
[07:15:26] mangold: has joined #RubyOnRails
[07:22:13] gambl0r3: has joined #RubyOnRails
[07:29:55] ur5us: has joined #RubyOnRails
[07:54:21] alan_w: has joined #RubyOnRails
[08:06:21] emers2n: has joined #RubyOnRails
[08:07:15] gambl0r3: has joined #RubyOnRails
[08:13:39] emers2n: Question: I have data submitted to a form. I want to take this form data and submit it to the Shopify API. However, I want some steps in the middle. What's the simplest way to temporarily store this data until I'm ready to submit to API without recreating the model? https://pastebin.com/raw/7aNBs7r3
[08:13:59] cschneid: has joined #RubyOnRails
[08:19:47] defsdoor: has joined #RubyOnRails
[08:22:50] dionysus69: you could store to Rails.cache or to a tmp file
[08:23:05] tetraktys: has joined #RubyOnRails
[08:24:15] dionysus69: I have 4 rails processes running on heroku on a single dyno and I am at the ceiling of the allowed 500mb memory. how do I create trimmed down version of my rails app with just a database connection and a redis connection? This service would require only couple of gems, instead of all the gems in the gemfile
[08:25:56] tbuehlmann: dionysus69: same app (controllers, models, …) but without some gems?
[08:30:05] blackmesa: has joined #RubyOnRails
[08:33:03] blackmesa1: has joined #RubyOnRails
[08:33:59] gambl0r3: has joined #RubyOnRails
[08:38:21] dionysus69: tbuehlmann: yes yes, this service basically does only one job, streams data from 4 different sources with faye-websockets
[08:38:40] dionysus69: so it would need 2 gems on top of default gems required by the vanilla app
[08:39:21] dionysus69: since faye-websockets works with event machines, I was unable to launch it with threads or in any other way, so I just went with 4 different rails runners
[08:40:11] dionysus69: it wouldnt need any controllers or views, but I assume that doesn
[08:41:49] tbuehlmann: you could play with bundler groups and only require certain gems when needed. `Bundler.require(*Rails.groups)` in config/application.rb is a starting point for that
[08:43:01] tbuehlmann: also estimate the time (money) you're wasting doing this vs just upgrading to a bigger dyno
[08:43:13] dionysus69: yes that is the part where I am lacking experience at this point, so I dont load app with config/application.rb just make a copy of it and load specific group and then launch my services using different config.ru / application2.rb?
[08:43:51] tbuehlmann: sounds like a new application to me
[08:44:02] dionysus69: atm heroku costs 40$ for the whole staging app, I will obviously use bigger non hobby dynos for production
[08:44:07] KeyJoo: has joined #RubyOnRails
[08:44:42] dionysus69: I am trying to keep staging as cheap as possible :)
[08:45:47] tbuehlmann: I assume just using a bigger dyno is way cheaper than your "optimizations" costs, but well
[08:46:01] sevenseacat: staging should replicate production, not 'be cheap'
[08:46:15] dionysus69: ok, sounds legit :)
[08:46:55] dionysus69: production would cost at least 200$ with 2 app dynos let's say, spending that much on staging at this point is unviable for my company :)
[08:48:04] sevenseacat: thats your choice. doesn't sound like a financially secure company to me
[08:48:33] tbuehlmann: spending hours into this is unviable to the company as well then?
[08:49:01] tbuehlmann: I'd do the maths once to check if this is worth the trouble
[08:49:29] dionysus69: yea good point, so I'll get back to finishing up sidekiq jobs :D
[09:01:15] mangold: has joined #RubyOnRails
[09:05:14] mikecmpbll: has joined #RubyOnRails
[09:05:25] roshanavand: has joined #RubyOnRails
[09:10:37] _aeris: has joined #RubyOnRails
[09:15:09] tetraktys: has joined #RubyOnRails
[09:29:04] Ergo: has joined #RubyOnRails
[09:31:41] roshanavand: has joined #RubyOnRails
[09:50:47] blackmesa1: has joined #RubyOnRails
[10:24:27] alan_w: has joined #RubyOnRails
[10:39:54] cnsvc: has joined #RubyOnRails
[10:53:22] gregf_: has joined #RubyOnRails
[11:13:14] cnsvc: has joined #RubyOnRails
[11:13:43] cschneid: has joined #RubyOnRails
[11:13:47] lxsameer: has joined #RubyOnRails
[11:25:27] kapil____: has joined #RubyOnRails
[11:32:41] Terens: has joined #RubyOnRails
[11:32:49] Terens: why this doesn't add a \
[11:32:55] Terens: text.gsub(/([&|!(){}\[\]^"~*?:\\'+-])/, "\\1"
[11:34:37] gavit: has joined #RubyOnRails
[11:42:00] tjbp: has joined #RubyOnRails
[11:51:02] mangold: has joined #RubyOnRails
[12:02:20] lankanmon: has joined #RubyOnRails
[12:11:57] cnsvc: has joined #RubyOnRails
[12:19:21] paranoicsan: has joined #RubyOnRails
[12:32:03] GodFather: has joined #RubyOnRails
[12:33:17] jaddison_: has joined #RubyOnRails
[12:43:28] cschneid: has joined #RubyOnRails
[12:54:33] alan_w: has joined #RubyOnRails
[12:55:08] Jervis_: has joined #RubyOnRails
[12:58:52] reber: has joined #RubyOnRails
[13:04:24] blackmesa1: has joined #RubyOnRails
[13:05:55] dslegends: has joined #RubyOnRails
[13:09:06] roshanavand: has joined #RubyOnRails
[13:12:37] cnsvc: has joined #RubyOnRails
[13:18:55] mostlybadfly: has joined #RubyOnRails
[13:39:07] roshanavand: has joined #RubyOnRails
[13:51:53] GodFather: has joined #RubyOnRails
[13:58:56] roshanavand: has joined #RubyOnRails
[14:00:41] mauro1254: has joined #RubyOnRails
[14:11:57] apparition: has joined #RubyOnRails
[14:13:02] cnsvc: has joined #RubyOnRails
[14:15:03] crankharder: has joined #RubyOnRails
[14:16:19] cschneid: has joined #RubyOnRails
[14:17:21] eclm: has joined #RubyOnRails
[14:48:56] SteveRedka: has joined #RubyOnRails
[14:53:22] lxsameer: has joined #RubyOnRails
[14:55:43] SteveRedka: Hi. I'm trying to make an asynchronous request to controller from js; it is supposed to render something on page.
[14:55:52] SteveRedka: Can somebody explain why it doesn't work?
[14:55:58] SteveRedka: Uploaded file: https://uploads.kiwiirc.com/files/8f6c2360acb1e8e898db64810835a348/pasted.txt
[14:56:18] cschneid: has joined #RubyOnRails
[14:57:12] za1b1tsu: has joined #RubyOnRails
[15:17:07] crankharder: has joined #RubyOnRails
[15:23:27] paranoicsan: has joined #RubyOnRails
[15:24:45] alan_w: has joined #RubyOnRails
[15:25:30] SteveRedka: has joined #RubyOnRails
[15:26:34] salasrod: has joined #RubyOnRails
[15:30:54] lxsameer: has joined #RubyOnRails
[15:31:23] mangold: has joined #RubyOnRails
[15:36:18] lxsameer: has joined #RubyOnRails
[15:44:22] fox_mulder_cp: SteveRedka: js fetch?
[15:44:51] GodFather: has joined #RubyOnRails
[15:47:12] lxsameer: has joined #RubyOnRails
[15:47:13] cnsvc: has joined #RubyOnRails
[16:00:00] tjmcginnis: has joined #RubyOnRails
[16:03:33] cschneid: has joined #RubyOnRails
[16:04:50] mr-spoon: has joined #RubyOnRails
[16:05:46] blackmesa1: has joined #RubyOnRails
[16:13:10] reber: has joined #RubyOnRails
[16:17:43] chouhoulis: has joined #RubyOnRails
[16:18:24] gavit: has joined #RubyOnRails
[16:46:31] lxsameer: has joined #RubyOnRails
[17:12:00] bambanx: has joined #RubyOnRails
[17:15:16] crankharder: has joined #RubyOnRails
[17:17:24] borodin: has joined #RubyOnRails
[17:19:40] cnsvc: has joined #RubyOnRails
[17:37:01] gregf_: has joined #RubyOnRails
[17:52:18] ivanskie: has joined #RubyOnRails
[17:53:19] nOgAnOo: has joined #RubyOnRails
[17:54:17] scrooloose: has joined #RubyOnRails
[17:54:52] alan_w: has joined #RubyOnRails
[17:59:17] eckhardt_: has joined #RubyOnRails
[18:12:39] tdy: has joined #RubyOnRails
[18:14:52] mikecmpbll: has joined #RubyOnRails
[18:16:34] blackmesa1: has joined #RubyOnRails
[18:17:46] crankharder: has joined #RubyOnRails
[18:35:24] blackmesa1: has joined #RubyOnRails
[18:38:19] gambl0r3: has joined #RubyOnRails
[18:41:19] gavit: has joined #RubyOnRails
[18:52:49] cnsvc: has joined #RubyOnRails
[18:59:15] aidanh010: has joined #RubyOnRails
[19:01:06] orbyt_: has joined #RubyOnRails
[19:11:32] crankharder: has joined #RubyOnRails
[19:33:15] mostlybadfly: has joined #RubyOnRails
[19:45:01] weaksauce: has joined #RubyOnRails
[19:50:48] gambl0r3: has joined #RubyOnRails
[20:13:07] tdy: has joined #RubyOnRails
[20:16:33] srruby: has joined #RubyOnRails
[20:16:47] srruby: Is it OK to use slim ? Thanks, John
[20:19:44] Dbugger: has joined #RubyOnRails
[20:23:25] orbyt_: has joined #RubyOnRails
[20:24:58] alan_w: has joined #RubyOnRails
[20:25:35] Terens: has joined #RubyOnRails
[20:28:43] tubbo: srruby: sure
[20:28:59] srruby: tubbo: Thanks
[20:43:03] ellcs: has joined #RubyOnRails
[21:07:34] cnsvc: has joined #RubyOnRails
[21:13:55] gambl0r3: has joined #RubyOnRails
[21:22:10] roshanavand: has joined #RubyOnRails
[21:32:42] blackmesa1: has joined #RubyOnRails
[21:56:48] gambl0r3: has joined #RubyOnRails
[22:12:31] Dimik: has joined #RubyOnRails
[22:34:39] crankharder: has joined #RubyOnRails
[22:37:19] shenghi: has joined #RubyOnRails
[22:55:02] alan_w: has joined #RubyOnRails
[23:04:59] lexileo: has joined #RubyOnRails
[23:22:17] orbyt_: has joined #RubyOnRails
[23:32:41] Jervis_: has joined #RubyOnRails