« Back to channel list

#RubyOnRails - 25 December 2018

« Back 1 day Forward 1 day »
[00:22:26] hammer065: has joined #RubyOnRails
[00:34:29] gambl0r3: has joined #RubyOnRails
[00:51:27] reber: has joined #RubyOnRails
[01:03:21] ellcs: has joined #RubyOnRails
[01:19:27] tdy: has joined #RubyOnRails
[01:30:42] cschneid: has joined #RubyOnRails
[02:12:42] Milos: has joined #RubyOnRails
[02:24:32] roshanavand: has joined #RubyOnRails
[02:34:05] roshanavand: has joined #RubyOnRails
[02:52:49] Technodrome: has joined #RubyOnRails
[02:59:47] tdy: has joined #RubyOnRails
[03:12:02] tdy: has joined #RubyOnRails
[03:13:01] gambl0r3: has joined #RubyOnRails
[03:17:01] kapil____: has joined #RubyOnRails
[03:19:37] MasterAsia: has joined #RubyOnRails
[03:33:38] roshanavand: has joined #RubyOnRails
[03:38:17] user374747474: has joined #RubyOnRails
[03:38:27] user374747474: having some issues with a layout
[03:40:08] darkhanb: has joined #RubyOnRails
[03:47:03] guyz: has joined #RubyOnRails
[03:48:14] ur5us: has joined #RubyOnRails
[04:01:36] hays: has joined #RubyOnRails
[04:07:30] roshanavand: has joined #RubyOnRails
[04:09:47] braincrash: has joined #RubyOnRails
[04:39:51] cschneid: has joined #RubyOnRails
[04:58:07] darkhanb: has joined #RubyOnRails
[05:31:46] guyz: has joined #RubyOnRails
[05:40:05] paranoicsan: has joined #RubyOnRails
[05:45:20] Technodrome: has joined #RubyOnRails
[05:50:31] bitch: has joined #RubyOnRails
[06:04:52] guyz: has joined #RubyOnRails
[06:05:08] Saukk: has joined #RubyOnRails
[06:31:12] LambdaSource: has joined #RubyOnRails
[07:02:44] Technodrome: has joined #RubyOnRails
[07:10:09] dionysus69: thanks havenwood :) I have used spiped before when I was doing my own infrastructure but wasn't sure if heroku was doing its own thing to secure coms
[07:35:10] Jervis_: has joined #RubyOnRails
[07:36:28] za1b1tsu: has joined #RubyOnRails
[07:37:37] guyz: has joined #RubyOnRails
[07:53:08] kapil____: has joined #RubyOnRails
[07:56:18] dionysus69: redis cloud addon doesn't support SSL as a heroku addon, I will need to make a subscription on their website.
[07:56:35] dionysus69: or Stunnel setup
[08:33:16] reber: has joined #RubyOnRails
[08:52:19] mikecmpbll: has joined #RubyOnRails
[08:59:51] tdy: has joined #RubyOnRails
[09:17:33] xco: has joined #RubyOnRails
[09:17:45] xco: hi i have a file with lots of lines. what i want to do is replace some text in the file (sort of edit it) this is what i have, not working and i need help https://gist.github.com/xcobar/400989355ae2e5b0068d0b0561c9f6c6
[09:18:41] Andr3as: is it really called "file.rb"?
[09:19:28] Andr3as: and.. define "not working"..
[09:23:22] xco: “not working” means i’m not geting texts replaced in the new file
[09:23:46] xco: Andr3as: yes it’s called ‘file.rb’
[09:25:41] Andr3as: 2.5.3 :004 > line.gsub!(/food/, '') if line.start_with?('cat', 'dog')
[09:25:41] Andr3as: => "cat's are really nice sometimes, we give them good cat ."
[09:25:53] Andr3as: line = "cat's are really nice sometimes, we give them good cat food."
[09:26:11] Andr3as: so, your code works to me..?
[09:26:54] Andr3as: that loop though..
[09:29:35] xco: Andr3as: actually this is what i want, to edit an existing file https://gist.github.com/xcobar/400989355ae2e5b0068d0b0561c9f6c6
[09:29:39] xco: so i updated my code
[09:30:17] Andr3as: you might wanna try map
[09:30:20] Andr3as: lines.map {|l| l.gsub(/food/, '') if line.start_with?('cat', 'dog')}
[09:30:43] Andr3as: or if you wanna replace the text inside the array try map! {...
[09:31:21] xco: oh good tip, let me see if that works
[09:31:42] roshanavand: has joined #RubyOnRails
[09:31:55] Andr3as: if l-start_with, obviously
[09:32:02] Andr3as: *l.start_with?
[09:51:46] conta: has joined #RubyOnRails
[09:52:27] paranoicsan: has joined #RubyOnRails
[10:22:20] xco: any idea what regex will match “limit: 1,”?
[10:22:43] xco: “, limit: 1,”
[10:30:47] tbuehlmann: the obvious: /limit: 1,/
[10:36:45] ellcs: has joined #RubyOnRails
[10:39:42] xco: tbuehlmann: thanks but i wanted something that will match strings like
[10:39:46] xco: “limit: 300”
[10:39:56] xco: “limit: 3”
[10:40:02] xco: “limit: 325,”
[10:40:05] tbuehlmann: do you really want a regexp or do you just care about the number?
[10:40:20] xco: “, limit: 32”
[10:40:30] xco: i want regexp
[10:40:56] guyz: has joined #RubyOnRails
[10:41:40] tbuehlmann: this? /limit: \d+,?/
[10:43:16] xco: hmmm close
[10:43:29] xco: i want to capture whitespace before “limit”, and commas too
[10:43:31] sonOfRa: xco: are you trying to extract data from a json object?
[10:43:51] xco: sonOfRa: no, i’m trying to replace some string
[10:51:26] tbuehlmann: xco: then capture whitespace and commata, too?
[10:51:36] Saukk: has joined #RubyOnRails
[10:56:29] xco: tbuehlmann: yes i don’t no how thought. i tried /\slimit: \d+,?/
[10:56:45] tbuehlmann: I suggest reading up on regexps then
[11:35:30] ellcs: has joined #RubyOnRails
[11:37:49] xco: has left #RubyOnRails: ()
[11:43:50] lxsameer: has joined #RubyOnRails
[11:55:37] ariedler: has joined #RubyOnRails
[12:19:27] Guest49234: has joined #RubyOnRails
[12:38:25] Guest49234: has joined #RubyOnRails
[13:14:07] guyz: has joined #RubyOnRails
[13:40:48] srinidhi: has joined #RubyOnRails
[13:43:24] guyz: has joined #RubyOnRails
[14:14:21] conta: has joined #RubyOnRails
[14:19:08] guyz: has joined #RubyOnRails
[15:01:20] jottr: has joined #RubyOnRails
[15:24:23] pwnd_nsfw: has joined #RubyOnRails
[15:29:50] NoGodDamnIdea: has joined #RubyOnRails
[15:46:34] MasterAsia: has joined #RubyOnRails
[17:12:23] guyz: has joined #RubyOnRails
[17:31:58] guyz: has joined #RubyOnRails
[17:42:27] NoGodDamnIdea: has joined #RubyOnRails
[17:45:14] roshanavand: has joined #RubyOnRails
[17:46:02] Technodrome: has joined #RubyOnRails
[18:11:16] tdy: has joined #RubyOnRails
[18:23:59] Exuma: has joined #RubyOnRails
[18:30:52] catbusters: has joined #RubyOnRails
[18:46:07] ellcs: has joined #RubyOnRails
[19:05:48] Technodrome: has joined #RubyOnRails
[19:07:20] conta: has joined #RubyOnRails
[19:26:57] TvL2386: has joined #RubyOnRails
[19:36:07] lexileo: has joined #RubyOnRails
[19:40:04] Guest49234: has joined #RubyOnRails
[19:47:59] mices: has joined #RubyOnRails
[19:48:11] mices: how do i scrape ui-box content
[19:49:17] mices: i see a bunch of scripts in chrome-dev tools->network->js
[19:50:43] tdy: has joined #RubyOnRails
[19:56:03] armyriad: has joined #RubyOnRails
[20:00:06] mices: has left #RubyOnRails: ("Leaving")
[20:44:55] darkhanb: has joined #RubyOnRails
[20:46:59] tdy: has joined #RubyOnRails
[20:52:16] NoGodDamnIdea: has joined #RubyOnRails
[21:02:33] cschneid: has joined #RubyOnRails
[21:04:57] Technodrome: has joined #RubyOnRails
[21:31:49] gambl0r3: has joined #RubyOnRails
[21:34:15] ellcs: has joined #RubyOnRails
[21:51:47] kapil____: has joined #RubyOnRails
[22:01:01] nate-^: has joined #RubyOnRails
[22:02:42] nate-^: Hi! I am trying to get a devise "Resend confirmation instructions" to work and the form just hangs. I can't seem to find any error logs in the apache2 or any entries in the development.log. Also there is no entries in the access_log for apache. Something is hanging the form and I need more logs. Help?
[22:18:55] sirensari2: has joined #RubyOnRails
[22:20:02] nate-^: basically I can't seem to find a log file to debug
[22:39:35] guyz: has joined #RubyOnRails
[23:41:29] gambl0r3: has joined #RubyOnRails
[23:42:33] desperek: has joined #RubyOnRails
[23:48:38] tdy: has joined #RubyOnRails