« Back to channel list

#RubyOnRails - 08 October 2018

« Back 1 day Forward 1 day »
[00:06:38] Voxxit: has joined #RubyOnRails
[00:16:02] apeiros: has joined #RubyOnRails
[00:50:01] eckhardt: has joined #RubyOnRails
[00:52:22] cagomez: has joined #RubyOnRails
[00:59:12] MoritaShinobu: has joined #RubyOnRails
[01:10:10] apeiros: has joined #RubyOnRails
[01:23:02] cagomez: has joined #RubyOnRails
[01:25:17] ajsharma: has joined #RubyOnRails
[01:33:27] cagomez: has joined #RubyOnRails
[01:38:07] davidh38: has joined #RubyOnRails
[01:39:28] ajsharma: has joined #RubyOnRails
[01:40:13] ajsharma: has joined #RubyOnRails
[02:04:14] apeiros: has joined #RubyOnRails
[02:05:00] ajsharma: has joined #RubyOnRails
[02:07:14] cagomez: has joined #RubyOnRails
[02:09:37] davidh38: has joined #RubyOnRails
[02:38:11] MIR100_: has joined #RubyOnRails
[02:58:14] davidh38: has joined #RubyOnRails
[02:58:43] apeiros: has joined #RubyOnRails
[03:00:47] ebsen: has joined #RubyOnRails
[03:05:52] orbyt_: has joined #RubyOnRails
[03:09:14] braincrash: has joined #RubyOnRails
[03:19:21] cagomez: has joined #RubyOnRails
[03:23:45] ajsharma: has joined #RubyOnRails
[03:53:44] orpl: What resources exist for server side rendering of React pages without using any gems like react_on_rails?
[04:01:27] weaksauce: has joined #RubyOnRails
[04:04:08] lord4163: has joined #RubyOnRails
[04:22:44] srinidhi: has joined #RubyOnRails
[04:36:02] cagomez: has joined #RubyOnRails
[04:36:53] davidh38: has joined #RubyOnRails
[04:46:42] apeiros: has joined #RubyOnRails
[04:55:04] za1b1tsu: has joined #RubyOnRails
[04:55:42] duderonomy: has joined #RubyOnRails
[05:08:58] rserkov: has joined #RubyOnRails
[05:31:24] apeiros: has joined #RubyOnRails
[05:51:49] davidh38: has joined #RubyOnRails
[05:56:04] defsdoor: has joined #RubyOnRails
[05:57:21] davidh38: has joined #RubyOnRails
[06:11:38] snickers: has joined #RubyOnRails
[06:23:14] davidh38: has joined #RubyOnRails
[06:27:07] davidh38: has joined #RubyOnRails
[06:39:57] dionysus69: Greetings to the Jedies
[07:25:09] duderonomy: has joined #RubyOnRails
[07:39:07] sandstrom: has joined #RubyOnRails
[07:59:11] Puffball: has joined #RubyOnRails
[07:59:44] simmerz: has joined #RubyOnRails
[08:00:01] sandstrom: has joined #RubyOnRails
[08:05:16] davidh38: has joined #RubyOnRails
[08:12:43] lxsameer: has joined #RubyOnRails
[08:34:14] srinidhi: has joined #RubyOnRails
[08:45:39] Ergo: has joined #RubyOnRails
[08:49:49] uks: has joined #RubyOnRails
[09:12:43] dionysus69: has joined #RubyOnRails
[09:19:18] MrCrackPotBuilde: has joined #RubyOnRails
[09:19:28] MrCrackPotBuilde: why would you use prax or pow over rails s
[09:19:41] MrCrackPotBuilde: is this more for production or development ???
[09:24:16] exchgr`: has joined #RubyOnRails
[09:32:29] andywww: has joined #RubyOnRails
[09:37:48] beholders_eye: has joined #RubyOnRails
[09:41:08] davidh38: has joined #RubyOnRails
[09:45:52] MrCrackPotBuilde: has joined #RubyOnRails
[10:06:56] simmerz: has joined #RubyOnRails
[10:15:31] davidh38: has joined #RubyOnRails
[10:23:10] roshanavand: has joined #RubyOnRails
[10:39:51] Puffball: has joined #RubyOnRails
[10:49:10] lankanmon: has joined #RubyOnRails
[10:53:33] cgfbee: has joined #RubyOnRails
[11:01:27] apeiros: has joined #RubyOnRails
[11:03:21] maryo_: has joined #RubyOnRails
[11:03:48] maryo_: what is the recommended way to installed Ruby on Rails? Is it via rbenv?
[11:04:34] tbuehlmann: maryo_: there are several ways to install ruby, I personally recommend using ruby-install (for installing rubies) and chruby (for switching between installed rubies)
[11:04:46] tbuehlmann: I recommend this: https://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you
[11:06:51] maryo_: tbuehlmann, thank you
[11:22:28] maryo_: I have tried rbenv for installing ruby on CentOS7, however it looks like it is in the same state showing installing for more than 10 minutes now https://dpaste.de/KfoH does any has any any idea on what could be the issue?
[11:25:48] simmerz: has joined #RubyOnRails
[11:28:06] tbuehlmann: maryo_: installing ruby can take quite some time, give it a few more minutes and check back
[11:31:55] roshanavand: has joined #RubyOnRails
[11:40:16] maryo_: tbuehlmann, yep after sometime it got installed. But while trying to run "ruby -v" command it gives an error https://dpaste.de/BGTO any idea?
[11:43:03] dionysus69: Rails.application.secret_key_base returns some random secret_key_base which is not in rails credentials. where is it coming from?
[11:43:38] dionysus69: also, changing Rails.application.credentials.secret_key_base doesnt invalidate cookies in my development env, shouldn
[11:43:48] dionysus69: n't it though?
[11:45:50] roshanavand: has joined #RubyOnRails
[11:53:45] lxsameer: has joined #RubyOnRails
[11:55:11] tbuehlmann: maryo_: using rbenv?
[11:56:30] tbuehlmann: dionysus69: it returns `secrets.secret_key_base || Digest::MD5.hexdigest(self.class.name)` in development
[11:57:38] maryo_: tbuehlmann, yes
[11:59:46] simmerz: has joined #RubyOnRails
[12:00:41] tbuehlmann: I can't help with rbenv. have you read this? https://github.com/rbenv/rbenv/blob/v1.1.1/README.md
[12:01:14] kapil____: has joined #RubyOnRails
[12:01:33] dionysus69: ok thanks, I guess works differently for production
[12:02:53] tbuehlmann: yes, it does: https://github.com/rails/rails/blob/v5.2.1/railties/lib/rails/application.rb#L432-L434
[12:33:16] lexileo: has joined #RubyOnRails
[12:50:16] tjbp: has joined #RubyOnRails
[13:21:31] apeiros_: has joined #RubyOnRails
[13:25:09] lxsameer: has joined #RubyOnRails
[13:37:50] MrCrackPotBuilde: has joined #RubyOnRails
[13:41:48] lxsameer: has joined #RubyOnRails
[13:47:46] maryo_: Is there any difference between 'bundle install' and 'bundle exec'?
[13:54:09] tbuehlmann: yes. `bundle install` installs the gems mentionend in your Gemfile. `bundle exec <some command>` run the given command in the context of your Gemfile's gems
[14:11:52] gabeodess: has joined #RubyOnRails
[14:22:59] orbyt_: has joined #RubyOnRails
[14:23:12] sung: so that i can finally get access to my work laptop
[14:31:42] lord4163: has joined #RubyOnRails
[14:51:18] maryo_: has joined #RubyOnRails
[14:51:54] desperek: has joined #RubyOnRails
[14:54:44] simmerz: has joined #RubyOnRails
[14:57:46] apeiros_: has joined #RubyOnRails
[15:01:09] tdy: has joined #RubyOnRails
[15:08:31] GodFather: has joined #RubyOnRails
[15:19:36] kurko_: has joined #RubyOnRails
[15:19:44] kurko_: ACTION bows
[15:22:13] kurko__: has joined #RubyOnRails
[15:28:23] troys: has joined #RubyOnRails
[15:31:16] troys: has left #RubyOnRails: ()
[15:44:24] chouhoulis: has joined #RubyOnRails
[15:54:05] srinidhi: has joined #RubyOnRails
[16:02:31] srinidhi: has joined #RubyOnRails
[16:05:28] beowuff: has joined #RubyOnRails
[16:19:34] za1b1tsu: has joined #RubyOnRails
[16:34:22] darkhanb: has joined #RubyOnRails
[16:39:40] reber: has joined #RubyOnRails
[16:51:29] kurko_: has joined #RubyOnRails
[17:19:39] za1b1tsu: has joined #RubyOnRails
[17:23:43] sameerynho: has joined #RubyOnRails
[17:33:01] prettybTech: has joined #RubyOnRails
[17:41:31] yiadom: has joined #RubyOnRails
[17:41:49] yiadom: is rubygems down?
[17:43:13] yiadom: status page says no but I've been trying to install bundler for the last 15 minutes without success
[17:43:17] yiadom: Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
[17:43:40] yiadom: ^ that's the error. keeps retrying but ultimately fails
[17:47:02] elcontrastador: has joined #RubyOnRails
[17:49:24] roshanavand: has joined #RubyOnRails
[17:50:59] maryo: has joined #RubyOnRails
[17:51:52] maryo: How can I say my application to start in another port apart from 3000?
[17:52:21] eckhardt: has joined #RubyOnRails
[17:53:26] yiadom: rails s -p PORT
[17:53:45] yiadom: don't remember correctly but if that doesn't work see what the help says
[17:53:58] maryo: yiadom, thank you o/ that helps
[18:02:06] prettybTech: has joined #RubyOnRails
[18:08:23] roshanavand: has joined #RubyOnRails
[18:12:27] sandstrom: has joined #RubyOnRails
[18:18:21] roshanavand: has joined #RubyOnRails
[18:20:40] maryo: Is there a command to list all the versions of a given gem before installing it?
[18:28:03] za1b1tsu: has joined #RubyOnRails
[18:31:16] samort7: has joined #RubyOnRails
[18:31:20] dviola: has joined #RubyOnRails
[18:31:52] samort7: when I examine log/test.log, it's filled with a bunch of squares. Anyone know why this might be happening
[18:32:10] prettybTech: has joined #RubyOnRails
[18:32:10] samort7: like this: [1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
[18:33:21] samort7: hmm, if I open it with vim, I see this: ^[[1m^[[35m (0.1ms)^[[0m ^[[1m^[[34mSELECT COUNT(*) FROM "users"^[[0m
[18:33:38] NoGodDamnIdea: has joined #RubyOnRails
[18:35:26] yiadom: has joined #RubyOnRails
[18:41:19] baweaver: samort7: color codes.
[18:41:44] baweaver: https://misc.flogisoft.com/bash/tip_colors_and_formatting
[18:42:10] baweaver: that's how logs look nice and pretty on output
[18:48:21] roshanavand: has joined #RubyOnRails
[18:48:27] samort7: alright so my escape codes aren't being rendered for some reason. weird
[18:49:55] baweaver: depends on whether or not your terminal can handle them
[18:55:05] samort7: Yea, I'm messing with it right now. I'm on WSL using RubyMine
[19:00:34] snickers: has joined #RubyOnRails
[19:08:08] mostlybadfly: has joined #RubyOnRails
[19:17:09] borodin: has joined #RubyOnRails
[19:17:41] improv42: has joined #RubyOnRails
[19:19:25] roshanavand: has joined #RubyOnRails
[19:21:35] sandstrom: has joined #RubyOnRails
[19:25:56] prettybTech: has joined #RubyOnRails
[19:35:08] fugee: has joined #RubyOnRails
[19:35:20] fugee: how do i set xml.loc prefix to https
[19:36:04] fugee: xml.instruct! xml.url do xml.loc
[19:49:32] roshanavand: has joined #RubyOnRails
[20:04:29] simmerz: has joined #RubyOnRails
[20:09:34] roshanavand: has joined #RubyOnRails
[20:14:15] ebsen: has joined #RubyOnRails
[20:16:09] za1b1tsu: has joined #RubyOnRails
[20:23:02] LightStalker: has joined #RubyOnRails
[20:33:24] tycoon177: is there a way to get an activerecord #touch to also call after_save callbacks? i'd prefer to avoid having the two separate callbacks in case they were to change in the future
[20:40:42] ebsen: has joined #RubyOnRails
[20:40:56] tycoon177: it doesn't appear like that's possible in the docs...I'll just put some comments around these callbacks in our code to let anyone in the future know that they belong together
[20:51:32] za1b1tsu: has joined #RubyOnRails
[20:54:12] ebsen: has joined #RubyOnRails
[21:35:29] darkhanb: has joined #RubyOnRails
[22:07:48] za1b1tsu: has joined #RubyOnRails
[22:22:34] darkhanb: has joined #RubyOnRails
[22:33:44] ellcs: has joined #RubyOnRails
[22:36:05] kn-928: has joined #RubyOnRails
[22:36:53] nemesit|znc: has joined #RubyOnRails
[22:47:45] MoritaShinobu: has joined #RubyOnRails
[23:00:05] eckhardt: has joined #RubyOnRails
[23:02:38] MaiconVieira: has joined #RubyOnRails
[23:19:49] eckhardt: has joined #RubyOnRails
[23:37:42] duderonomy: has joined #RubyOnRails
[23:55:54] za1b1tsu: has joined #RubyOnRails
[23:58:34] agent_white: has joined #RubyOnRails
[23:59:25] sarmiena_: has joined #RubyOnRails