bronson

Activity Graph

Page 1 of 60 | Next »

2018-03-16

[19:45:14] bronson: has joined #RubyOnRails
[19:46:07] bronson: There's gotta be a better way to use this path helper, right? this works, but ewww...
[19:46:09] bronson: get project_item_path(id: items(:left_pad), project_id: items(:left_pad).project)
[19:46:36] bronson: I would think that project_item_path(items(:left_pad)) would work.
[19:47:13] bronson: actually, let me make that clearer. item = items(:left_pad)
[19:49:40] bronson: project has_many :items
[19:49:52] bronson: doesn't work: project_item_path(item)
[19:50:20] bronson: does work: project_item_path(id: item, project_id: item.project)
[19:50:42] bronson: but that seems kinda silly. is there any way to clean that up?
[19:51:27] bronson: no, an item can only ever belong to one project.
[19:53:21] bronson: dminuoso: agree! but when I delete that, rails says: ActionController::UrlGenerationError: missing required keys: [:project_id]
[19:53:41] bronson: I don't know why the url generator can't infer it itself.
[19:57:28] bronson: dminuoso: https://gist.github.com/bronson/12898d711f94c02707af344ace9d1ab6
[20:07:32] bronson: dminuoso: yep, that looks like the right solution. thanks.
[20:42:45] bronson: Ping timeout: 260 seconds

2018-02-17

[00:29:34] bronson: has joined #ruby
[00:29:34] bronson: has joined #RubyOnRails
[00:34:09] bronson: Ping timeout: 248 seconds
[01:30:21] bronson: has joined #ruby
[01:30:21] bronson: has joined #RubyOnRails
[01:35:03] bronson: Ping timeout: 265 seconds
[02:29:59] bronson: has joined #ruby
[02:29:59] bronson: has joined #RubyOnRails
[02:34:11] bronson: Ping timeout: 256 seconds
[03:30:36] bronson: has joined #ruby
[03:30:36] bronson: has joined #RubyOnRails
[03:35:29] bronson: Ping timeout: 248 seconds
[04:31:35] bronson: has joined #ruby
[04:31:35] bronson: has joined #RubyOnRails
[04:36:31] bronson: Ping timeout: 268 seconds
[05:32:45] bronson: has joined #ruby
[05:32:45] bronson: has joined #RubyOnRails
[05:37:06] bronson: Ping timeout: 256 seconds
[06:33:20] bronson: has joined #ruby
[06:33:20] bronson: has joined #RubyOnRails
[06:38:18] bronson: Ping timeout: 256 seconds
[07:34:05] bronson: has joined #ruby
[07:34:05] bronson: has joined #RubyOnRails
[07:38:57] bronson: Ping timeout: 240 seconds
[08:35:01] bronson: has joined #ruby
[08:35:01] bronson: has joined #RubyOnRails
[08:39:40] bronson: Ping timeout: 240 seconds
[09:36:10] bronson: has joined #ruby
[09:36:10] bronson: has joined #RubyOnRails
[09:40:46] bronson: Ping timeout: 256 seconds
[10:00:38] bronson: has joined #RubyOnRails
[10:00:39] bronson: has joined #ruby
[10:04:47] bronson: Ping timeout: 248 seconds

2018-02-16

[22:59:56] bronson: has joined #ruby
[22:59:56] bronson: has joined #RubyOnRails
[23:28:27] bronson: Remote host closed the connection
[23:28:57] bronson: has joined #ruby
[23:28:57] bronson: has joined #RubyOnRails
[23:33:57] bronson: Ping timeout: 264 seconds

2018-01-28

[00:49:03] bronson: has joined #ruby
[00:49:03] bronson: has joined #RubyOnRails
[00:53:57] bronson: Ping timeout: 240 seconds
[01:50:28] bronson: has joined #ruby
[01:50:28] bronson: has joined #RubyOnRails
[01:54:48] bronson: Ping timeout: 252 seconds
[02:51:02] bronson: has joined #RubyOnRails
[02:51:03] bronson: has joined #ruby
[02:55:59] bronson: Ping timeout: 248 seconds
[03:52:13] bronson: has joined #ruby
[03:52:13] bronson: has joined #RubyOnRails
[03:56:45] bronson: Ping timeout: 264 seconds
[04:52:54] bronson: has joined #ruby
[04:52:54] bronson: has joined #RubyOnRails
[04:57:05] bronson: Ping timeout: 240 seconds
[05:53:32] bronson: has joined #ruby
[05:53:32] bronson: has joined #RubyOnRails
[05:58:03] bronson: Ping timeout: 246 seconds
[06:54:36] bronson: has joined #ruby
[06:54:36] bronson: has joined #RubyOnRails
[06:59:45] bronson: Ping timeout: 260 seconds
[07:55:43] bronson: has joined #ruby
[07:55:43] bronson: has joined #RubyOnRails
[08:00:19] bronson: Ping timeout: 256 seconds
[08:56:25] bronson: has joined #ruby
[08:56:25] bronson: has joined #RubyOnRails
[09:00:57] bronson: Ping timeout: 240 seconds
[09:57:19] bronson: has joined #ruby
[09:57:19] bronson: has joined #RubyOnRails
[10:02:07] bronson: Ping timeout: 248 seconds
[10:58:03] bronson: has joined #ruby
[10:58:03] bronson: has joined #RubyOnRails
[11:02:36] bronson: Ping timeout: 252 seconds
[11:59:02] bronson: has joined #ruby
[11:59:02] bronson: has joined #RubyOnRails
[12:03:59] bronson: Ping timeout: 256 seconds
[12:59:52] bronson: has joined #ruby
[12:59:52] bronson: has joined #RubyOnRails
[13:04:35] bronson: Ping timeout: 240 seconds
[14:01:01] bronson: has joined #ruby
[14:01:01] bronson: has joined #RubyOnRails
[14:05:36] bronson: Ping timeout: 246 seconds
[15:01:46] bronson: has joined #ruby
[15:01:46] bronson: has joined #RubyOnRails
[15:06:50] bronson: Ping timeout: 260 seconds
[16:02:44] bronson: has joined #RubyOnRails
[16:02:45] bronson: has joined #ruby
[16:07:27] bronson: Ping timeout: 248 seconds
[17:03:40] bronson: has joined #ruby
[17:03:40] bronson: has joined #RubyOnRails
[17:08:15] bronson: Ping timeout: 248 seconds
[18:04:20] bronson: has joined #ruby
[18:04:20] bronson: has joined #RubyOnRails
[18:09:04] bronson: Ping timeout: 248 seconds
[19:05:02] bronson: has joined #ruby
[19:05:02] bronson: has joined #RubyOnRails
[19:10:27] bronson: Ping timeout: 240 seconds

2018-01-27

[00:27:22] bronson: has joined #ruby
[00:27:22] bronson: has joined #RubyOnRails
[00:31:56] bronson: Ping timeout: 256 seconds
[01:28:17] bronson: has joined #ruby
[01:28:17] bronson: has joined #RubyOnRails
[01:33:16] bronson: Ping timeout: 268 seconds
[02:29:25] bronson: has joined #ruby
[02:29:25] bronson: has joined #RubyOnRails
[02:33:57] bronson: Ping timeout: 240 seconds
[03:30:15] bronson: has joined #ruby
[03:30:15] bronson: has joined #RubyOnRails
[03:34:58] bronson: Ping timeout: 256 seconds
[04:30:56] bronson: has joined #ruby
[04:30:56] bronson: has joined #RubyOnRails
[04:36:00] bronson: Ping timeout: 260 seconds
[05:31:55] bronson: has joined #RubyOnRails
[05:31:56] bronson: has joined #ruby
[05:36:31] bronson: Ping timeout: 248 seconds
[06:32:45] bronson: has joined #ruby
[06:32:45] bronson: has joined #RubyOnRails
[06:37:21] bronson: Ping timeout: 246 seconds
[07:33:45] bronson: has joined #ruby
[07:33:45] bronson: has joined #RubyOnRails
[07:38:57] bronson: Ping timeout: 268 seconds
[08:34:37] bronson: has joined #ruby
[08:34:37] bronson: has joined #RubyOnRails
[08:39:31] bronson: Ping timeout: 256 seconds
[09:35:35] bronson: has joined #ruby
[09:35:35] bronson: has joined #RubyOnRails
[09:40:28] bronson: Ping timeout: 256 seconds
[10:36:23] bronson: has joined #ruby
[10:36:23] bronson: has joined #RubyOnRails
[10:41:04] bronson: Ping timeout: 252 seconds
[11:37:04] bronson: has joined #RubyOnRails
[11:37:05] bronson: has joined #ruby
[11:41:51] bronson: Ping timeout: 248 seconds
[12:38:02] bronson: has joined #ruby
[12:38:02] bronson: has joined #RubyOnRails
[12:42:56] bronson: Ping timeout: 256 seconds
[13:39:00] bronson: has joined #ruby
[13:39:00] bronson: has joined #RubyOnRails
[13:43:57] bronson: Ping timeout: 240 seconds
[14:40:32] bronson: has joined #ruby
[14:40:32] bronson: has joined #RubyOnRails
[14:45:16] bronson: Ping timeout: 252 seconds
[15:41:32] bronson: has joined #ruby
[15:41:32] bronson: has joined #RubyOnRails
[15:46:23] bronson: Ping timeout: 276 seconds
[16:42:11] bronson: has joined #ruby
[16:42:11] bronson: has joined #RubyOnRails
[16:46:27] bronson: Ping timeout: 240 seconds
[17:42:56] bronson: has joined #ruby
[17:42:56] bronson: has joined #RubyOnRails
[17:47:48] bronson: Ping timeout: 256 seconds
[18:43:49] bronson: has joined #ruby
[18:43:49] bronson: has joined #RubyOnRails
[18:48:40] bronson: Ping timeout: 240 seconds
[19:45:06] bronson: has joined #ruby
[19:45:06] bronson: has joined #RubyOnRails
[19:50:09] bronson: Ping timeout: 265 seconds
[21:46:36] bronson: has joined #ruby
[21:46:36] bronson: has joined #RubyOnRails
[21:51:05] bronson: Ping timeout: 240 seconds
[22:47:30] bronson: has joined #ruby
[22:47:30] bronson: has joined #RubyOnRails
[22:52:14] bronson: Ping timeout: 268 seconds
[23:48:14] bronson: has joined #RubyOnRails
[23:48:15] bronson: has joined #ruby
[23:53:03] bronson: Ping timeout: 248 seconds

2018-01-26

[00:11:39] bronson: has joined #ruby
[00:11:39] bronson: has joined #RubyOnRails
[00:16:10] bronson: Ping timeout: 240 seconds
[01:12:34] bronson: has joined #ruby
[01:12:34] bronson: has joined #RubyOnRails
[01:17:22] bronson: Ping timeout: 256 seconds
[03:13:49] bronson: has joined #ruby
[03:13:49] bronson: has joined #RubyOnRails
[03:18:18] bronson: Ping timeout: 240 seconds
[04:14:38] bronson: has joined #ruby
[04:14:38] bronson: has joined #RubyOnRails
[04:19:06] bronson: Ping timeout: 252 seconds
[05:15:41] bronson: has joined #ruby
[05:15:41] bronson: has joined #RubyOnRails
[05:20:17] bronson: Ping timeout: 268 seconds
[06:16:30] bronson: has joined #ruby
[06:16:30] bronson: has joined #RubyOnRails
[06:21:20] bronson: Ping timeout: 268 seconds
[08:17:04] bronson: has joined #ruby
[08:17:04] bronson: has joined #RubyOnRails
[08:22:10] bronson: Ping timeout: 240 seconds
[10:18:43] bronson: has joined #ruby
[10:18:43] bronson: has joined #RubyOnRails
[10:23:27] bronson: Ping timeout: 240 seconds
[12:19:42] bronson: has joined #ruby
[12:19:42] bronson: has joined #RubyOnRails
[12:24:20] bronson: Ping timeout: 256 seconds
[14:20:39] bronson: has joined #ruby
[14:20:39] bronson: has joined #RubyOnRails
[14:25:35] bronson: Ping timeout: 240 seconds
[16:21:54] bronson: has joined #ruby
[16:21:54] bronson: has joined #RubyOnRails
[16:26:27] bronson: Ping timeout: 240 seconds
[18:22:49] bronson: has joined #ruby
[18:22:49] bronson: has joined #RubyOnRails
[18:27:05] bronson: Ping timeout: 240 seconds
[20:24:12] bronson: has joined #ruby
[20:24:12] bronson: has joined #RubyOnRails
[20:29:05] bronson: Ping timeout: 256 seconds
[21:24:46] bronson: has joined #ruby
[21:24:46] bronson: has joined #RubyOnRails
[21:29:35] bronson: Ping timeout: 260 seconds
[22:25:44] bronson: has joined #ruby
[22:25:44] bronson: has joined #RubyOnRails
[22:30:44] bronson: Ping timeout: 268 seconds
[23:26:32] bronson: has joined #ruby
[23:26:32] bronson: has joined #RubyOnRails
[23:31:47] bronson: Ping timeout: 268 seconds

2018-01-25

[12:08:35] bronson: Ping timeout: 240 seconds
[14:05:00] bronson: has joined #ruby
[14:05:00] bronson: has joined #RubyOnRails
[14:10:05] bronson: Ping timeout: 265 seconds
[16:06:30] bronson: has joined #ruby
[16:06:30] bronson: has joined #RubyOnRails
[16:10:47] bronson: Ping timeout: 256 seconds
[18:07:21] bronson: has joined #ruby
[18:07:21] bronson: has joined #RubyOnRails
[18:11:54] bronson: Ping timeout: 252 seconds
[20:08:06] bronson: has joined #ruby
[20:08:06] bronson: has joined #RubyOnRails
[20:13:18] bronson: Ping timeout: 268 seconds
[21:09:09] bronson: has joined #ruby
[21:09:09] bronson: has joined #RubyOnRails
[21:14:21] bronson: Ping timeout: 268 seconds
[22:10:05] bronson: has joined #ruby
[22:10:05] bronson: has joined #RubyOnRails
[22:14:18] bronson: Ping timeout: 240 seconds
[23:10:46] bronson: has joined #ruby
[23:10:46] bronson: has joined #RubyOnRails
[23:15:50] bronson: Ping timeout: 268 seconds