cpruitt

Activity Graph

Page 1 of 13 | Next »

2019-06-25

[11:41:22] cpruitt: has joined #ruby
[11:41:49] cpruitt: has joined #RubyOnRails
[18:09:24] cpruitt: duleja: Sessions are not authoritative. Just having a number in a session doesn't mean the user with a corresponding ID exists. You'll need to hit your DB to grab the user information just to be sure that is actually a user, that hasn't been deleted, that the user has not been blocked, etc...
[18:12:50] cpruitt: Not necessarily. What if you just deleted him for misconduct?
[18:13:03] cpruitt: What if she hasn't confirmed her email?
[18:14:48] cpruitt: There's the crux of what people have been advising you. If you're not sure what the situations are, I'd recommend working within guidelines that have been shown to work for most apps. :-)

2019-01-24

[02:07:48] cpruitt: has joined #ruby
[02:07:49] cpruitt: has joined #RubyOnRails
[02:16:02] cpruitt: Ping timeout: 250 seconds
[02:19:52] cpruitt: has joined #RubyOnRails
[02:19:52] cpruitt: has joined #ruby
[02:25:04] cpruitt: Ping timeout: 272 seconds
[03:36:22] cpruitt: has joined #RubyOnRails
[03:36:22] cpruitt: has joined #ruby
[03:44:53] cpruitt: Ping timeout: 246 seconds
[03:57:56] cpruitt: has joined #RubyOnRails
[03:57:56] cpruitt: has joined #ruby
[04:10:03] cpruitt: Ping timeout: 245 seconds
[04:36:56] cpruitt: has joined #RubyOnRails
[04:36:56] cpruitt: has joined #ruby
[04:45:26] cpruitt: Ping timeout: 246 seconds
[04:54:37] cpruitt: has joined #ruby
[04:54:38] cpruitt: has joined #RubyOnRails
[04:59:27] cpruitt: Ping timeout: 240 seconds
[05:40:36] cpruitt: has joined #RubyOnRails
[05:40:36] cpruitt: has joined #ruby
[05:49:13] cpruitt: Ping timeout: 245 seconds
[05:56:27] cpruitt: has joined #RubyOnRails
[05:56:27] cpruitt: has joined #ruby
[06:00:47] cpruitt: Ping timeout: 240 seconds
[06:47:46] cpruitt: has joined #RubyOnRails
[06:47:46] cpruitt: has joined #ruby
[06:55:28] cpruitt: Ping timeout: 245 seconds
[08:06:17] cpruitt: has joined #ruby
[08:06:18] cpruitt: has joined #RubyOnRails
[08:11:20] cpruitt: Ping timeout: 268 seconds
[08:44:10] cpruitt: has joined #RubyOnRails
[08:44:10] cpruitt: has joined #ruby
[08:48:38] cpruitt: Ping timeout: 250 seconds
[09:44:20] cpruitt: has joined #RubyOnRails
[09:44:20] cpruitt: has joined #ruby
[09:49:07] cpruitt: Ping timeout: 240 seconds
[10:37:54] cpruitt: has joined #ruby
[10:37:55] cpruitt: has joined #RubyOnRails
[10:42:26] cpruitt: Ping timeout: 240 seconds
[11:38:11] cpruitt: has joined #RubyOnRails
[11:38:11] cpruitt: has joined #ruby
[11:42:33] cpruitt: Ping timeout: 245 seconds
[11:48:18] cpruitt: has joined #RubyOnRails
[11:48:18] cpruitt: has joined #ruby
[11:52:48] cpruitt: Ping timeout: 250 seconds
[12:50:03] cpruitt: has joined #RubyOnRails
[12:50:03] cpruitt: has joined #ruby
[13:02:27] cpruitt: Ping timeout: 240 seconds
[13:09:11] cpruitt: has joined #RubyOnRails
[13:09:11] cpruitt: has joined #ruby
[13:13:38] cpruitt: Ping timeout: 246 seconds
[13:19:20] cpruitt: has joined #ruby
[13:19:21] cpruitt: has joined #RubyOnRails
[13:27:47] cpruitt: Ping timeout: 240 seconds
[13:49:16] cpruitt: has joined #RubyOnRails
[13:49:16] cpruitt: has joined #ruby
[13:54:56] cpruitt: Ping timeout: 240 seconds
[14:12:21] cpruitt: has joined #RubyOnRails

2019-01-22

[00:50:52] cpruitt: Remote host closed the connection
[14:39:00] cpruitt: has joined #RubyOnRails
[14:39:01] cpruitt: has joined #ruby

2019-01-21

[21:42:20] cpruitt: has joined #ruby
[21:42:24] cpruitt: has joined #RubyOnRails

2018-12-22

[02:54:55] cpruitt: has joined #RubyOnRails
[02:54:55] cpruitt: has joined #ruby
[02:59:13] cpruitt: Ping timeout: 250 seconds
[03:25:36] cpruitt: has joined #RubyOnRails
[03:25:36] cpruitt: has joined #ruby
[03:30:25] cpruitt: Ping timeout: 268 seconds
[05:06:11] cpruitt: has joined #RubyOnRails
[05:06:11] cpruitt: has joined #ruby
[05:10:55] cpruitt: Ping timeout: 244 seconds
[06:00:03] cpruitt: has joined #RubyOnRails
[06:00:03] cpruitt: has joined #ruby
[06:05:04] cpruitt: Ping timeout: 250 seconds
[06:35:32] cpruitt: has joined #ruby
[06:35:33] cpruitt: has joined #RubyOnRails
[06:40:36] cpruitt: Ping timeout: 250 seconds
[06:41:16] cpruitt: has joined #RubyOnRails
[06:41:16] cpruitt: has joined #ruby
[06:45:46] cpruitt: Ping timeout: 246 seconds
[06:49:33] cpruitt: has joined #RubyOnRails
[06:49:33] cpruitt: has joined #ruby
[07:02:06] cpruitt: Ping timeout: 246 seconds
[07:09:05] cpruitt: has joined #RubyOnRails
[07:09:05] cpruitt: has joined #ruby
[07:14:16] cpruitt: Ping timeout: 268 seconds
[07:29:22] cpruitt: has joined #ruby
[07:29:23] cpruitt: has joined #RubyOnRails
[07:33:47] cpruitt: Ping timeout: 240 seconds
[08:08:15] cpruitt: has joined #RubyOnRails
[08:08:15] cpruitt: has joined #ruby
[08:12:33] cpruitt: Ping timeout: 245 seconds
[08:16:29] cpruitt: has joined #RubyOnRails
[08:16:29] cpruitt: has joined #ruby
[08:21:22] cpruitt: Ping timeout: 272 seconds
[09:23:51] cpruitt: has joined #RubyOnRails
[09:23:51] cpruitt: has joined #ruby
[09:28:27] cpruitt: Ping timeout: 240 seconds
[11:25:55] cpruitt: has joined #RubyOnRails
[11:25:55] cpruitt: has joined #ruby
[11:30:53] cpruitt: Ping timeout: 245 seconds
[14:55:52] cpruitt: has joined #RubyOnRails
[14:55:52] cpruitt: has joined #ruby
[15:08:36] cpruitt: Ping timeout: 246 seconds
[16:09:38] cpruitt: has joined #ruby
[16:09:39] cpruitt: has joined #RubyOnRails
[16:54:16] cpruitt: Remote host closed the connection

2018-12-19

[00:30:49] cpruitt: has joined #RubyOnRails
[00:30:49] cpruitt: has joined #ruby
[02:37:30] cpruitt: Remote host closed the connection
[12:43:33] cpruitt: has joined #RubyOnRails
[12:43:33] cpruitt: has joined #ruby
[18:08:50] cpruitt: Ping timeout: 250 seconds
[18:53:15] cpruitt: has joined #RubyOnRails
[18:53:15] cpruitt: has joined #ruby

2018-12-18

[04:45:51] cpruitt: Remote host closed the connection

2018-12-17

[14:58:04] cpruitt: has joined #RubyOnRails
[14:58:14] cpruitt: has joined #ruby
[15:42:38] cpruitt: I'm sure this is some kind of pre-caffeine fog, but I'm having an issue with `require`. If I `puts File.expand_path('../../../02_karate_chop/karate_chop.rb', __FILE__)` I'll get /Users/username/Dev/code_kata/ruby/02_karate_chop/karate_chop.rb
[15:43:34] cpruitt: If I use require instead of puts I get a LoadError but the file path is different: /Users/username/Dev/code_kata/02_karate_chop/karate_chop.rb (note the absence of /ruby/)
[15:43:54] cpruitt: Am I missing something here?
[15:44:27] cpruitt: I'm literally just editing the file & changing puts to require
[15:44:55] cpruitt: Even tried assigning the path to a variable & using that for both. Different outputs
[15:45:30] cpruitt: jhass: Yeah, I can do that, but I'd kinda like to know why it's changing. Maybe rspec is doing something? It's at the top of a spec file
[15:47:40] cpruitt: Oh shoot.... I found the problem. self.moron == true
[15:50:18] cpruitt: I wasn't looking closely enough at the stack trace. Got so caught up on the error being the same that I didn't notice that one error was coming from one file and one from a different file with a nearly identical name.
[15:50:53] cpruitt: & yes, I've edited to use require_relative. Thanks.

2018-12-16

[01:31:33] cpruitt: has joined #RubyOnRails
[01:31:33] cpruitt: has joined #ruby
[01:36:10] cpruitt: Ping timeout: 250 seconds
[01:47:13] cpruitt: has joined #RubyOnRails
[01:47:13] cpruitt: has joined #ruby
[01:52:34] cpruitt: Ping timeout: 272 seconds
[03:14:20] cpruitt: has joined #ruby
[03:14:21] cpruitt: has joined #RubyOnRails
[03:19:06] cpruitt: Ping timeout: 244 seconds
[04:52:41] cpruitt: has joined #RubyOnRails
[04:52:41] cpruitt: has joined #ruby
[05:00:53] cpruitt: Ping timeout: 244 seconds
[06:44:03] cpruitt: has joined #RubyOnRails
[06:44:03] cpruitt: has joined #ruby
[06:48:36] cpruitt: Ping timeout: 250 seconds
[07:03:03] cpruitt: has joined #RubyOnRails
[07:03:03] cpruitt: has joined #ruby
[07:12:18] cpruitt: Ping timeout: 268 seconds
[07:36:31] cpruitt: has joined #RubyOnRails
[07:36:31] cpruitt: has joined #ruby
[07:41:05] cpruitt: Ping timeout: 250 seconds
[09:33:10] cpruitt: has joined #RubyOnRails
[09:33:10] cpruitt: has joined #ruby
[09:37:58] cpruitt: Ping timeout: 245 seconds
[09:39:06] cpruitt: has joined #RubyOnRails
[09:39:06] cpruitt: has joined #ruby
[09:43:42] cpruitt: Ping timeout: 246 seconds
[11:30:15] cpruitt: has joined #RubyOnRails
[11:30:15] cpruitt: has joined #ruby
[11:34:38] cpruitt: Ping timeout: 245 seconds
[12:51:18] cpruitt: has joined #ruby
[12:51:19] cpruitt: has joined #RubyOnRails
[12:56:13] cpruitt: Ping timeout: 244 seconds
[15:33:05] cpruitt: has joined #ruby
[15:33:06] cpruitt: has joined #RubyOnRails
[15:40:47] cpruitt: Ping timeout: 250 seconds

2018-12-15

[06:03:39] cpruitt: has joined #RubyOnRails
[06:03:39] cpruitt: has joined #ruby
[06:08:07] cpruitt: Ping timeout: 240 seconds
[06:58:00] cpruitt: has joined #RubyOnRails
[06:58:00] cpruitt: has joined #ruby
[07:11:09] cpruitt: Ping timeout: 268 seconds
[10:30:48] cpruitt: has joined #ruby
[10:30:49] cpruitt: has joined #RubyOnRails
[10:35:07] cpruitt: Ping timeout: 240 seconds
[14:14:11] cpruitt: has joined #RubyOnRails
[14:14:11] cpruitt: has joined #ruby
[14:26:43] cpruitt: Ping timeout: 250 seconds
[15:07:52] cpruitt: has joined #RubyOnRails
[15:07:52] cpruitt: has joined #ruby
[15:15:47] cpruitt: Ping timeout: 240 seconds
[15:28:14] cpruitt: has joined #RubyOnRails
[15:28:14] cpruitt: has joined #ruby
[15:41:24] cpruitt: Ping timeout: 272 seconds
[15:43:37] cpruitt: has joined #RubyOnRails
[15:43:37] cpruitt: has joined #ruby
[18:28:41] cpruitt: Remote host closed the connection
[20:30:29] cpruitt: has joined #ruby
[20:30:30] cpruitt: has joined #RubyOnRails
[20:35:03] cpruitt: Ping timeout: 250 seconds
[21:53:36] cpruitt: has joined #RubyOnRails
[21:53:36] cpruitt: has joined #ruby
[21:58:07] cpruitt: Ping timeout: 240 seconds
[22:34:25] cpruitt: has joined #RubyOnRails
[22:34:25] cpruitt: has joined #ruby
[22:39:22] cpruitt: Ping timeout: 250 seconds
[22:51:52] cpruitt: has joined #ruby
[22:51:53] cpruitt: has joined #RubyOnRails
[22:56:38] cpruitt: Ping timeout: 244 seconds
[23:01:08] cpruitt: has joined #ruby
[23:01:09] cpruitt: has joined #RubyOnRails
[23:05:48] cpruitt: Ping timeout: 250 seconds

2018-12-14

[04:49:01] cpruitt: has joined #RubyOnRails
[04:49:01] cpruitt: has joined #ruby
[04:53:53] cpruitt: Ping timeout: 250 seconds
[05:10:20] cpruitt: has joined #RubyOnRails
[05:10:20] cpruitt: has joined #ruby
[05:15:07] cpruitt: Ping timeout: 240 seconds
[05:52:41] cpruitt: has joined #RubyOnRails
[05:52:41] cpruitt: has joined #ruby
[06:00:57] cpruitt: Ping timeout: 246 seconds
[06:11:41] cpruitt: has joined #RubyOnRails
[06:11:41] cpruitt: has joined #ruby
[06:16:39] cpruitt: Ping timeout: 250 seconds
[06:32:00] cpruitt: has joined #RubyOnRails
[06:32:00] cpruitt: has joined #ruby
[06:36:25] cpruitt: Ping timeout: 246 seconds
[07:05:50] cpruitt: has joined #RubyOnRails
[07:05:50] cpruitt: has joined #ruby
[07:13:22] cpruitt: Ping timeout: 250 seconds
[07:36:07] cpruitt: has joined #RubyOnRails
[07:36:07] cpruitt: has joined #ruby
[07:40:28] cpruitt: Ping timeout: 246 seconds
[08:11:33] cpruitt: has joined #RubyOnRails
[08:11:33] cpruitt: has joined #ruby
[08:16:36] cpruitt: Ping timeout: 272 seconds
[08:54:15] cpruitt: has joined #RubyOnRails
[08:54:15] cpruitt: has joined #ruby
[08:58:48] cpruitt: Ping timeout: 245 seconds
[10:24:14] cpruitt: has joined #ruby
[10:24:15] cpruitt: has joined #RubyOnRails
[10:29:14] cpruitt: Ping timeout: 250 seconds
[12:03:18] cpruitt: has joined #RubyOnRails
[12:03:18] cpruitt: has joined #ruby
[12:08:13] cpruitt: Ping timeout: 246 seconds
[12:39:05] cpruitt: has joined #RubyOnRails
[12:39:05] cpruitt: has joined #ruby
[12:43:48] cpruitt: Ping timeout: 245 seconds
[14:18:55] cpruitt: has joined #RubyOnRails
[14:19:03] cpruitt: has joined #ruby