brianpWins

Activity Graph

Page 1 of 4 | Next »

2019-01-20

[21:39:43] brianpWins: has joined #RubyonRails-offtopic

2018-12-03

[14:25:47] brianpWins: has joined #RubyonRails-offtopic
[20:44:45] brianpWins: Ping timeout: 246 seconds

2018-12-01

[13:50:44] brianpWins: Ping timeout: 250 seconds

2018-11-30

[10:28:36] brianpWins: sevenseacat!
[10:29:16] brianpWins: I have to choose between IRC and VPN appearently. So I haven’t been on here in months, but when I came on I looked for your name!
[10:29:39] brianpWins: The regulars you know
[10:29:43] brianpWins: feels like home again

2018-11-28

[15:45:34] brianpWins: has joined #RubyonRails-offtopic
[15:46:16] brianpWins: has joined #RubyOnRails
[15:48:16] brianpWins: I’m using the attributes api with a jsonb, and deserializing the data into an array of PORO’s. I’ve realized on first load of the parents (AR) object everything is fine. But if I call `changed?` or any dirty tracking method it calls the deserializer again, creating new PORO’s and considering the custom attribute changed.
[15:48:29] brianpWins: For reference it’s essentially this: http://jetrockets.pro/blog/rails-5-attributes-api-value-objects-and-jsonb
[15:48:37] brianpWins: but with a mutable collection
[15:49:35] brianpWins: I’m sure I can find workaround for this, and would be all ears. But I’m also wondering if this could be considered a bug? Should dirty tracking be deserialzing the db strings again? It’s already done it before, seems like extra work to do it again.
[15:58:33] brianpWins: Ahhhh finally found a super old rails 3 issue descirbing similar behavuour and sounds like it’s all by design
[16:00:20] brianpWins: Or not, looks like it’s flip flopped over the years
[16:06:52] brianpWins: orrr, maybe the accepted use case is in place changes on nested data structures, but not supported is when they’re deserialized to something that’s a non standard type. Which makes sense because they can’t support diffing random types.
[16:07:31] brianpWins: I wonder if there’s an interface to make the comparisons generic, like simple defining <=> and if there is support for that. Im going to check that out
[16:29:57] brianpWins: I have the custom type defined with serializer/deserializers. I can also define my own check for `changed_in_place?` and manage equality however I need to
[16:30:00] brianpWins: this works for me.
[16:31:15] brianpWins: Rubber ducking. It works.

2018-08-29

[11:04:37] brianpWins: has joined #RubyonRails-offtopic

2018-06-28

[07:56:55] brianpWins: Quit: brianpWins

2018-06-26

[13:52:40] brianpWins: has joined #RubyonRails-offtopic
[13:52:40] brianpWins: has joined #ruby

2018-06-05

[16:15:42] brianpWins: has joined #RubyonRails-offtopic
[16:15:42] brianpWins: has joined #ruby
[16:16:57] brianpWins: has joined #RubyOnRails
[16:18:21] brianpWins: Hey! I’m trying to pass an Array of PORO’s to a where IN query. Like `Model.where(id: poro_collection)` and I’m wondering what method get’s called to extarct id’s from the collections normally. I tried to follow AR through the code to see where it calls to get normal collections ids but came out empty handed.
[16:19:53] brianpWins: To frame the question easier: What method do I need to declare on my PORO for it to play nice with the subset query method
[16:33:03] brianpWins: Quit: brianpWins
[16:34:26] brianpWins: has joined #RubyonRails-offtopic
[16:34:26] brianpWins: has joined #ruby
[16:44:40] brianpWins: Quit: brianpWins

2018-05-31

[00:00:49] brianpWins: Quit: brianpWins

2018-05-30

[16:31:59] brianpWins: has joined #RubyonRails-offtopic
[16:31:59] brianpWins: has joined #ruby
[22:52:22] brianpWins: has left #ruby: ()
[22:52:23] brianpWins: has left #RubyonRails-offtopic: ()
[23:02:53] brianpWins: has joined #RubyonRails-offtopic
[23:02:53] brianpWins: has joined #ruby

2018-05-10

[10:27:04] brianpWins: has joined #RubyonRails-offtopic
[10:27:04] brianpWins: has joined #ruby
[11:03:16] brianpWins: Quit: brianpWins

2018-01-11

[00:40:35] brianpWins: has joined #RubyonRails-offtopic
[00:40:35] brianpWins: has joined #ruby

2018-01-10

[02:29:43] brianpWins: has joined #RubyonRails-offtopic
[02:29:43] brianpWins: has joined #ruby
[06:08:46] brianpWins: Quit: brianpWins

2017-04-07

[07:08:44] brianpWins: has joined #RubyonRails-offtopic
[07:08:44] brianpWins: has joined #ruby
[07:08:44] brianpWins: has joined #RubyOnRails
[07:10:01] brianpWins: Is there a way to choose filterable paramaters in a PORO? I have a form object that deals with password, and if someone prints the object to the logger it’ll print with the plain text password. I’d like the PORO to know to filter that attribute. Much like the ActiveRecord log filter.
[22:16:07] brianpWins: Quit: brianpWins

2016-07-30

[01:53:25] brianpWins: has joined #RubyonRails-offtopic
[01:53:25] brianpWins: has joined #ruby
[01:53:25] brianpWins: has joined #RubyOnRails
[04:39:02] brianpWins: Ping timeout: 260 seconds

2016-07-29

[20:23:03] brianpWins: Ping timeout: 240 seconds
[20:26:34] brianpWins: has joined #RubyonRails-offtopic
[20:26:34] brianpWins: has joined #ruby
[20:26:34] brianpWins: has joined #RubyOnRails
[20:36:56] brianpWins: Quit: brianpWins
[21:08:09] brianpWins: has joined #RubyonRails-offtopic
[21:08:09] brianpWins: has joined #ruby
[21:08:09] brianpWins: has joined #RubyOnRails

2016-07-28

[21:15:41] brianpWins: has joined #RubyonRails-offtopic
[21:15:41] brianpWins: has joined #ruby
[21:15:41] brianpWins: has joined #RubyOnRails

2016-07-20

[01:51:24] brianpWins: Quit: brianpWins

2016-07-19

[18:25:59] brianpWins: has joined #RubyonRails-offtopic
[18:25:59] brianpWins: has joined #ruby
[18:25:59] brianpWins: has joined #RubyOnRails

2016-07-12

[07:18:18] brianpWins: Ping timeout: 276 seconds
[16:30:52] brianpWins: Ping timeout: 260 seconds

2016-07-11

[07:47:54] brianpWins: Read error: Connection reset by peer
[07:48:04] brianpWins: has joined #RubyonRails-offtopic
[07:48:04] brianpWins: has joined #ruby
[07:48:04] brianpWins: has joined #RubyOnRails

2016-07-10

[03:24:11] brianpWins: Ping timeout: 240 seconds
[04:59:52] brianpWins: *.net *.split
[16:13:34] brianpWins: has joined #RubyOnRails
[16:13:35] brianpWins: has joined #RubyonRails-offtopic
[16:13:35] brianpWins: has joined #ruby

2016-07-09

[23:33:47] brianpWins: Read error: Connection reset by peer
[23:34:34] brianpWins: has joined #RubyonRails-offtopic
[23:34:34] brianpWins: has joined #ruby
[23:34:34] brianpWins: has joined #RubyOnRails

2016-07-08

[21:10:31] brianpWins: has joined #RubyonRails-offtopic
[21:10:31] brianpWins: has joined #ruby
[21:10:31] brianpWins: has joined #RubyOnRails

2016-07-04

[21:07:32] brianpWins: has joined #RubyonRails-offtopic
[21:07:32] brianpWins: has joined #ruby
[21:07:32] brianpWins: has joined #RubyOnRails
[23:33:23] brianpWins: Read error: Connection reset by peer

2016-06-19

[04:24:27] brianpWins: Ping timeout: 264 seconds

2016-06-17

[02:57:34] brianpWins: Ping timeout: 244 seconds

2016-06-16

[06:37:38] brianpWins: has joined #RubyOnRails
[06:37:39] brianpWins: has joined #RubyonRails-offtopic
[06:37:39] brianpWins: has joined #ruby
[06:40:29] brianpWins: I’m running in to a problem I need help with. The error is very straight forward, we’ve all seen it before, normally I know what to do. In this case though, I have no idea why the “expected type” isn’t &mut. I’m defining it as &mut I don’t know why it would be expected to be anything but that: http://pastie.org/private/rv1dxyvhyhh9kdfzy51zw
[06:41:50] brianpWins: this is the wrong room

2016-05-27

[16:36:38] brianpWins: has joined #RubyonRails-offtopic
[16:36:38] brianpWins: has joined #ruby
[16:36:38] brianpWins: has joined #RubyOnRails
[16:43:01] brianpWins: Ping timeout: 240 seconds

2016-05-19

[19:30:17] brianpWins: has joined #RubyonRails-offtopic
[19:30:17] brianpWins: has joined #ruby
[19:30:17] brianpWins: has joined #RubyOnRails
[22:52:33] brianpWins: Ping timeout: 240 seconds

2016-05-16

[07:38:57] brianpWins: Ping timeout: 250 seconds

2016-05-15

[02:12:03] brianpWins: Ping timeout: 246 seconds

2016-05-14

[06:52:46] brianpWins: has joined #RubyonRails-offtopic
[06:52:46] brianpWins: has joined #ruby
[06:52:46] brianpWins: has joined #RubyOnRails
[06:59:30] brianpWins: Read error: Connection reset by peer
[07:08:51] brianpWins: Read error: Connection reset by peer
[07:20:33] brianpWins: Ping timeout: 240 seconds
[14:22:41] brianpWins: Ping timeout: 265 seconds
[14:26:19] brianpWins: has joined #RubyonRails-offtopic
[14:26:19] brianpWins: has joined #ruby
[14:26:19] brianpWins: has joined #RubyOnRails
[17:00:28] brianpWins: Ping timeout: 252 seconds
[19:15:05] brianpWins: has joined #RubyonRails-offtopic
[19:15:05] brianpWins: has joined #ruby
[19:15:05] brianpWins: has joined #RubyOnRails
[19:57:57] brianpWins: Ping timeout: 276 seconds

2016-05-12

[00:48:48] brianpWins: has joined #RubyonRails-offtopic
[00:48:48] brianpWins: has joined #ruby
[00:48:48] brianpWins: has joined #RubyOnRails
[00:53:03] brianpWins: Ping timeout: 240 seconds
[01:07:09] brianpWins: Ping timeout: 260 seconds
[01:10:22] brianpWins: has joined #RubyonRails-offtopic
[01:10:22] brianpWins: has joined #ruby
[01:10:22] brianpWins: has joined #RubyOnRails
[01:25:14] brianpWins: Ping timeout: 260 seconds

2016-05-11

[16:13:21] brianpWins: Ping timeout: 265 seconds

2016-05-09

[06:14:17] brianpWins: Read error: Connection reset by peer
[11:08:11] brianpWins: Ping timeout: 265 seconds
[11:29:40] brianpWins: has joined #RubyonRails-offtopic
[11:29:40] brianpWins: has joined #ruby
[11:29:40] brianpWins: has joined #RubyOnRails
[12:41:57] brianpWins: Ping timeout: 265 seconds
[12:43:41] brianpWins: has joined #RubyonRails-offtopic
[12:43:41] brianpWins: has joined #ruby
[12:43:41] brianpWins: has joined #RubyOnRails

2016-05-06

[05:30:07] brianpWins: Quit: brianpWins
[05:36:37] brianpWins: has joined #RubyonRails-offtopic
[05:36:37] brianpWins: has joined #ruby
[05:36:37] brianpWins: has joined #RubyOnRails
[06:11:43] brianpWins: Ping timeout: 252 seconds

2016-05-05

[17:23:04] brianpWins: Ping timeout: 260 seconds

2016-05-04

[00:53:29] brianpWins: Ping timeout: 260 seconds
[00:57:34] brianpWins: has joined #RubyOnRails
[00:57:35] brianpWins: has joined #RubyonRails-offtopic
[00:57:35] brianpWins: has joined #ruby

2016-05-01

[04:11:18] brianpWins: has joined #RubyonRails-offtopic
[04:11:18] brianpWins: has joined #ruby
[04:11:18] brianpWins: has joined #RubyOnRails

2016-04-30

[05:45:47] brianpWins: has joined #RubyonRails-offtopic
[05:45:47] brianpWins: has joined #ruby
[05:45:47] brianpWins: has joined #RubyOnRails
[05:59:16] brianpWins: Ping timeout: 244 seconds

2016-04-29

[03:51:11] brianpWins: Ping timeout: 244 seconds
[03:53:48] brianpWins: has joined #RubyonRails-offtopic
[03:53:48] brianpWins: has joined #ruby
[03:53:48] brianpWins: has joined #RubyOnRails
[04:08:18] brianpWins: anyone a tmux wizard?
[14:33:10] brianpWins: *.net *.split
[14:37:08] brianpWins: has joined #RubyonRails-offtopic
[14:37:13] brianpWins: has joined #RubyOnRails
[14:37:13] brianpWins: has joined #ruby
[17:21:51] brianpWins: Ping timeout: 250 seconds
[18:43:41] brianpWins: Quit: brianpWins
[22:53:16] brianpWins: has joined #RubyonRails-offtopic
[22:53:16] brianpWins: has joined #ruby
[22:53:16] brianpWins: has joined #RubyOnRails
[23:43:11] brianpWins: Quit: brianpWins

2016-04-28

[00:08:07] brianpWins: Radar: you get my message the other day? I closed my irc app so I missed the response if there was one
[00:09:17] brianpWins: yeah, Ivan sounds familiar. Cool.
[00:09:46] brianpWins: I blanked on his name but wanted to reach out. Thanks for making the connection.
[00:10:49] brianpWins: Also, In March I finally dropped in to Oz for my first time. Spent two weeks in Sydney. had great weather.
[00:11:06] brianpWins: Yup, Tall, skinny, bearded checks out.
[00:12:42] brianpWins: Limited vacay time. Although mid-May i’m going jobless so maybe we’ll come back.
[20:24:15] brianpWins: Ping timeout: 276 seconds
[22:39:32] brianpWins: has joined #RubyonRails-offtopic
[22:39:32] brianpWins: has joined #ruby
[22:39:32] brianpWins: has joined #RubyOnRails

2016-04-27

[00:48:46] brianpWins: Radar: Did you have a friend from Oz that was in Bend for Ruby on Ales last month?
[01:27:46] brianpWins: Ping timeout: 268 seconds
[06:07:26] brianpWins: has joined #RubyonRails-offtopic
[06:07:26] brianpWins: has joined #ruby
[06:07:26] brianpWins: has joined #RubyOnRails
[07:45:45] brianpWins: Ping timeout: 276 seconds
[17:45:42] brianpWins: Ping timeout: 276 seconds
[20:00:37] brianpWins: has joined #RubyOnRails
[20:00:38] brianpWins: has joined #RubyonRails-offtopic
[20:00:38] brianpWins: has joined #ruby

2016-04-26

[23:50:00] brianpWins: Ping timeout: 246 seconds
[23:50:44] brianpWins: has joined #RubyonRails-offtopic
[23:50:44] brianpWins: has joined #ruby
[23:50:44] brianpWins: has joined #RubyOnRails

2016-04-25

[04:24:44] brianpWins: has joined #RubyonRails-offtopic
[04:24:44] brianpWins: has joined #ruby
[04:24:44] brianpWins: has joined #RubyOnRails
[13:04:39] brianpWins: Ping timeout: 250 seconds
[13:05:09] brianpWins: has joined #RubyonRails-offtopic
[13:05:09] brianpWins: has joined #ruby
[13:05:09] brianpWins: has joined #RubyOnRails

2016-04-24

[18:53:25] brianpWins: Quit: brianpWins
[18:54:55] brianpWins: has joined #RubyOnRails
[18:54:56] brianpWins: has joined #RubyonRails-offtopic
[18:54:56] brianpWins: has joined #ruby
[19:00:44] brianpWins: Ping timeout: 276 seconds
[22:17:00] brianpWins: has joined #RubyonRails-offtopic
[22:17:00] brianpWins: has joined #ruby
[22:17:00] brianpWins: has joined #RubyOnRails
[22:49:54] brianpWins: Ping timeout: 260 seconds
[22:54:39] brianpWins: has joined #RubyonRails-offtopic
[22:54:39] brianpWins: has joined #ruby
[22:54:39] brianpWins: has joined #RubyOnRails
[23:23:44] brianpWins: Ping timeout: 260 seconds

2016-04-22

[22:30:52] brianpWins: has joined #RubyonRails-offtopic
[22:30:52] brianpWins: has joined #ruby
[22:30:52] brianpWins: has joined #RubyOnRails

2016-03-02

[06:16:11] brianpWins: has joined #RubyOnRails
[06:16:12] brianpWins: has joined #RubyonRails-offtopic
[06:16:12] brianpWins: has joined #ruby
[06:59:15] brianpWins: Ping timeout: 248 seconds

2015-08-06

[06:01:37] brianpWins: Ping timeout: 250 seconds
[06:55:04] brianpWins: Quit: brianpWins
[06:55:21] brianpWins: has joined #RubyonRails-offtopic
[06:55:21] brianpWins: has joined #ruby
[06:55:21] brianpWins: has joined #RubyOnRails
[20:11:42] brianpWins: Ping timeout: 245 seconds

2015-08-05

[05:23:02] brianpWins: has joined #RubyOnRails
[05:23:03] brianpWins: has joined #RubyonRails-offtopic
[05:23:03] brianpWins: has joined #ruby
[06:34:04] brianpWins: Quit: brianpWins
[06:34:34] brianpWins: has joined #RubyonRails-offtopic
[06:34:34] brianpWins: has joined #ruby
[06:34:34] brianpWins: has joined #RubyOnRails