Yzguy

Activity Graph

Page 1 of 9 | Next »

2019-01-17

[17:36:30] Yzguy: has joined #RubyOnRails
[17:36:37] Yzguy: Client Quit
[17:38:41] Yzguy: has joined #ruby
[17:38:41] Yzguy: has joined #RubyOnRails
[18:08:46] Yzguy: Quit: Bye

2018-10-17

[02:37:23] Yzguy: so I've stumbled upon a legacy app doing a lot of as_json overrides in models for API routes
[02:37:56] Yzguy: which is super painful, because the API output is very different than what you would POST/PUT to create/update things
[02:39:01] Yzguy: I've been reading about serializers, but all the examples I find reference using them in the index/show actions. Which makes sense to me. The question I have is that, would you/could you post back the structure you get from the index/show to an edit action and it would work?
[02:39:54] Yzguy: I'm mostly thinking about how the relations would work
[02:40:20] Yzguy: like if I had a Device, and it has some attributes, but it also has a ports attribute that is an array of port objects
[02:46:33] Yzguy: eh I think I could do a quick small thing to test and make my understanding better
[02:49:16] Yzguy: but yeah, the as_json override is super super painful
[03:51:00] Yzguy: has anyone done "sub" models
[03:51:43] Yzguy: eg I'm thinking I want my url to be like /devices/1/ports, and it would give me a list of all the Port objects with the device_id of 1, which I have working. I'm confused on how POST/PUT would work to create/update
[04:32:48] Yzguy: Quit: Zzz...
[04:35:57] Yzguy: has joined #RubyOnRails
[04:55:07] Yzguy: Quit: Cya o/

2018-06-07

[00:25:02] Yzguy: Quit: Bye

2018-06-06

[21:51:43] Yzguy: has joined #ruby
[21:51:43] Yzguy: has joined #RubyOnRails
[21:57:47] Yzguy: Quit: Zzz...
[22:03:16] Yzguy: has joined #RubyOnRails
[22:03:17] Yzguy: has joined #ruby
[22:23:23] Yzguy: Quit: Zzz...
[22:26:41] Yzguy: has joined #ruby
[22:26:41] Yzguy: has joined #RubyOnRails

2018-06-04

[00:14:36] Yzguy: has joined #ruby
[01:10:38] Yzguy: Ping timeout: 260 seconds

2018-06-03

[03:49:19] Yzguy: has joined #ruby
[04:45:40] Yzguy: Quit: Zzz...
[18:10:56] Yzguy: has joined #ruby
[18:42:41] Yzguy: Quit: Zzz...
[18:55:20] Yzguy: has joined #ruby
[22:10:49] Yzguy: Quit: Zzz...
[23:06:37] Yzguy: has joined #ruby
[23:07:02] Yzguy: Client Quit
[23:07:38] Yzguy: has joined #ruby
[23:07:44] Yzguy: Client Quit
[23:07:57] Yzguy: has joined #ruby
[23:11:55] Yzguy: Client Quit
[23:12:53] Yzguy: has joined #ruby
[23:27:15] Yzguy: Quit: Zzz...

2018-06-02

[19:44:38] Yzguy: has joined #ruby
[20:20:40] Yzguy: Quit: Zzz...
[20:28:08] Yzguy: has joined #ruby
[20:36:37] Yzguy: Quit: Zzz...

2018-05-14

[07:59:28] Yzguy: Client Quit
[07:59:28] Yzguy: has joined #ruby

2018-05-09

[03:25:41] Yzguy: has joined #ruby
[03:56:21] Yzguy: Quit: Zzz...
[04:41:51] Yzguy: has joined #ruby
[05:11:55] Yzguy: Quit: Zzz...
[05:12:07] Yzguy: has joined #ruby
[05:12:45] Yzguy: Client Quit

2018-05-08

[15:26:09] Yzguy: has joined #ruby
[15:26:09] Yzguy: has joined #RubyOnRails
[18:44:50] Yzguy: Quit: Zzz...
[21:15:01] Yzguy: has joined #ruby
[21:15:01] Yzguy: has joined #RubyOnRails
[21:51:25] Yzguy: Quit: Zzz...
[21:53:21] Yzguy: has joined #ruby
[21:53:21] Yzguy: has joined #RubyOnRails
[21:58:15] Yzguy: Quit: Zzz...
[22:00:06] Yzguy: has joined #ruby
[22:00:06] Yzguy: has joined #RubyOnRails
[23:03:53] Yzguy: Quit: Bye

2018-05-07

[21:41:53] Yzguy: has joined #ruby
[21:41:53] Yzguy: has joined #RubyOnRails
[21:46:22] Yzguy: Client Quit
[22:05:34] Yzguy: has joined #ruby
[22:05:34] Yzguy: has joined #RubyOnRails
[23:15:00] Yzguy: Quit: Zzz...
[23:18:45] Yzguy: has joined #ruby
[23:18:45] Yzguy: has joined #RubyOnRails
[23:48:21] Yzguy: Quit: Zzz...

2018-05-06

[00:12:52] Yzguy: has joined #ruby
[00:27:03] Yzguy: Read error: Connection reset by peer

2018-05-05

[05:25:03] Yzguy: has joined #ruby
[05:52:02] Yzguy: Quit: Zzz...
[18:04:13] Yzguy: has joined #ruby
[20:25:24] Yzguy: Quit: Zzz...

2018-05-04

[01:31:19] Yzguy: has joined #ruby
[01:31:45] Yzguy: Remote host closed the connection
[01:36:05] Yzguy: has joined #ruby
[01:57:42] Yzguy: Quit: Zzz...
[01:58:16] Yzguy: has joined #ruby
[05:09:44] Yzguy: Quit: Zzz...
[15:26:42] Yzguy: has joined #ruby
[15:29:45] Yzguy: Client Quit
[15:29:58] Yzguy: has joined #ruby
[15:30:03] Yzguy: Client Quit
[15:30:16] Yzguy: has joined #ruby
[15:30:50] Yzguy: Client Quit

2018-05-03

[01:08:05] Yzguy: has joined #ruby
[01:11:21] Yzguy: Client Quit
[01:12:43] Yzguy: has joined #ruby
[05:41:48] Yzguy: Quit: Zzz...

2018-05-02

[00:13:05] Yzguy: Quit: Zzz...
[15:55:14] Yzguy: has joined #ruby
[15:55:14] Yzguy: has joined #RubyOnRails
[16:05:50] Yzguy: Quit: Bye

2018-05-01

[00:33:36] Yzguy: Quit: Zzz...
[02:03:40] Yzguy: has joined #ruby
[02:07:47] Yzguy: Client Quit
[02:08:01] Yzguy: has joined #ruby
[06:29:28] Yzguy: Quit: Zzz...
[17:18:46] Yzguy: has joined #ruby
[17:18:46] Yzguy: has joined #RubyOnRails
[17:55:05] Yzguy: Ping timeout: 256 seconds
[22:38:19] Yzguy: has joined #ruby
[22:38:19] Yzguy: has joined #RubyOnRails
[23:14:58] Yzguy: Quit: Zzz...
[23:22:17] Yzguy: has joined #ruby
[23:22:17] Yzguy: has joined #RubyOnRails

2018-04-30

[00:19:43] Yzguy: has joined #ruby
[00:19:48] Yzguy: Client Quit
[23:43:07] Yzguy: has joined #ruby
[23:43:07] Yzguy: has joined #RubyOnRails
[23:45:20] Yzguy: Is there a good way to use query parameters as parts of the db query?
[23:45:46] Yzguy: eq like /devices?location=sfo&status=up
[23:46:26] Yzguy: but they are entirely optional, you could also just call /devices

2018-04-29

[00:00:43] Yzguy: has joined #ruby
[00:27:28] Yzguy: Quit: Zzz...
[00:33:50] Yzguy: has joined #ruby
[01:54:56] Yzguy: Quit: Zzz...

2018-04-27

[00:05:57] Yzguy: Quit: Zzz...

2018-04-26

[04:40:36] Yzguy: has joined #ruby
[05:16:31] Yzguy: Quit: Zzz...
[05:29:45] Yzguy: has joined #ruby
[05:48:11] Yzguy: Quit: Zzz...
[06:08:02] Yzguy: has joined #ruby
[06:18:36] Yzguy: Quit: Zzz...
[23:55:34] Yzguy: has joined #ruby

2018-04-25

[17:14:39] Yzguy: has joined #ruby
[17:14:39] Yzguy: has joined #RubyOnRails
[19:16:45] Yzguy: Quit: Zzz...
[22:02:45] Yzguy: has joined #ruby
[22:02:45] Yzguy: has joined #RubyOnRails
[23:00:31] Yzguy: Quit: Zzz...

2018-04-24

[03:36:58] Yzguy: has joined #ruby
[03:52:59] Yzguy: Remote host closed the connection
[03:53:18] Yzguy: has joined #ruby
[04:07:36] Yzguy: Quit: Zzz...

2018-04-22

[06:45:54] Yzguy: has joined #ruby
[07:25:52] Yzguy: Quit: Zzz...
[21:17:12] Yzguy: has joined #ruby
[21:21:41] Yzguy: Ping timeout: 256 seconds

2018-04-17

[02:50:43] Yzguy: has joined #ruby
[04:54:47] Yzguy: Quit: Zzz...
[04:55:04] Yzguy: has joined #ruby
[04:59:21] Yzguy: Ping timeout: 240 seconds

2018-04-16

[02:00:44] Yzguy: has joined #ruby
[02:00:44] Yzguy: has joined #RubyOnRails
[02:49:00] Yzguy: Quit: Zzz...
[02:49:14] Yzguy: has joined #ruby
[02:49:14] Yzguy: has joined #RubyOnRails
[03:07:07] Yzguy: Quit: Zzz...
[05:46:49] Yzguy: has joined #ruby
[05:54:43] Yzguy: Quit: Zzz...
[05:55:18] Yzguy: has joined #ruby
[06:18:37] Yzguy: Quit: Cya

2018-04-15

[19:23:09] Yzguy: has joined #ruby
[19:23:09] Yzguy: has joined #RubyOnRails
[20:35:49] Yzguy: Quit: Zzz...
[20:36:03] Yzguy: has joined #ruby
[20:36:03] Yzguy: has joined #RubyOnRails
[20:36:40] Yzguy: Client Quit
[20:36:52] Yzguy: has joined #ruby
[20:36:52] Yzguy: has joined #RubyOnRails
[20:37:27] Yzguy: Client Quit
[20:37:40] Yzguy: has joined #ruby
[20:37:40] Yzguy: has joined #RubyOnRails
[20:38:14] Yzguy: Client Quit
[20:38:27] Yzguy: has joined #ruby
[20:38:27] Yzguy: has joined #RubyOnRails
[20:39:01] Yzguy: Client Quit
[20:39:14] Yzguy: has joined #RubyOnRails
[20:39:15] Yzguy: has joined #ruby
[20:39:49] Yzguy: Client Quit

2018-04-14

[17:47:09] Yzguy: has joined #ruby
[18:39:03] Yzguy: Quit: Zzz...
[22:47:42] Yzguy: has joined #ruby
[23:18:17] Yzguy: Quit: Zzz...

2018-04-13

[02:55:33] Yzguy: has joined #ruby
[03:05:42] Yzguy: Quit: Zzz...
[03:08:24] Yzguy: has joined #ruby
[05:08:59] Yzguy: Quit: Zzz...

2018-04-11

[04:02:30] Yzguy: has joined #ruby
[05:34:42] Yzguy: Quit: Zzz...

2018-04-09

[03:07:12] Yzguy: Quit: Zzz...
[03:23:10] Yzguy: has joined #ruby
[07:01:16] Yzguy: Quit: Zzz...

2018-04-08

[02:47:21] Yzguy: has joined #ruby
[03:20:04] Yzguy: Quit: Zzz...
[04:02:56] Yzguy: has joined #ruby
[04:20:47] Yzguy: Quit: Zzz...
[07:43:44] Yzguy: has joined #ruby
[08:02:28] Yzguy: Quit: Zzz...
[08:03:59] Yzguy: has joined #ruby
[08:04:26] Yzguy: Client Quit
[18:52:35] Yzguy: has joined #ruby
[22:49:42] Yzguy: Quit: Zzz...
[23:03:20] Yzguy: has joined #ruby

2018-03-21

[01:26:22] Yzguy: has joined #ruby
[03:25:43] Yzguy: Quit: Zzz...
[04:22:06] Yzguy: has joined #ruby
[04:25:48] Yzguy: Client Quit
[04:30:18] Yzguy: has joined #ruby
[05:31:50] Yzguy: Quit: Zzz...

2018-03-20

[05:15:30] Yzguy: has joined #ruby
[06:39:48] Yzguy: Quit: Zzz...

2018-03-19

[04:20:22] Yzguy: Quit: Zzz...
[05:20:26] Yzguy: has joined #ruby
[07:26:00] Yzguy: Quit: Zzz...

2018-03-18

[00:16:57] Yzguy: Quit: Zzz...
[01:44:33] Yzguy: has joined #ruby
[04:56:48] Yzguy: Quit: Zzz...
[18:31:11] Yzguy: has joined #ruby

2018-03-17

[18:32:55] Yzguy: has joined #ruby
[20:06:36] Yzguy: Quit: Zzz...
[20:25:52] Yzguy: has joined #ruby
[20:32:33] Yzguy: Quit: Zzz...
[20:37:24] Yzguy: has joined #ruby
[23:01:28] Yzguy: Quit: Zzz...
[23:06:33] Yzguy: has joined #ruby

2018-03-16

[01:22:18] Yzguy: has joined #ruby
[04:43:59] Yzguy: Quit: Zzz...
[04:52:47] Yzguy: has joined #ruby
[07:54:45] Yzguy: Quit: Zzz...

2018-03-15

[00:59:30] Yzguy: Quit: Zzz...
[00:59:52] Yzguy: has joined #ruby
[00:59:52] Yzguy: has joined #RubyOnRails
[01:04:01] Yzguy: Ping timeout: 246 seconds
[03:05:42] Yzguy: has joined #ruby
[03:40:30] Yzguy: Quit: Zzz...
[03:53:29] Yzguy: has joined #ruby
[09:25:17] Yzguy: Quit: Zzz...

2018-03-14

[06:29:57] Yzguy: has joined #ruby
[07:45:40] Yzguy: Quit: Zzz...
[07:47:13] Yzguy: has joined #ruby
[07:47:42] Yzguy: Client Quit
[19:15:54] Yzguy: has joined #ruby
[19:15:54] Yzguy: has joined #RubyOnRails
[22:22:34] Yzguy: Quit: Zzz...
[23:04:47] Yzguy: has joined #ruby
[23:04:47] Yzguy: has joined #RubyOnRails

2018-03-13

[01:28:35] Yzguy: Quit: Zzz...
[04:59:18] Yzguy: has joined #ruby
[05:39:16] Yzguy: Quit: Cya