@erniemiller Most likely me. Happy to answer questions on our new type system
-
-
-
-
Replying to @sgrif
@sgrif Managed to hack together a test case and looks like my suspicion was right. https://gist.github.com/ernie/33f75f2294885b9806f9 … +@tenderlove1 reply 0 retweets 1 like -
Replying to @erniemiller
@sgrif@tenderlove I haven't been using json/jsonb columns extensively until now. Maybe this is expected behavior? Definitely surprised me.1 reply 0 retweets 0 likes -
Replying to @erniemiller
@erniemiller@tenderlove Yes. You don't need to use `serialize` there. I left some comments on the gist.1 reply 0 retweets 0 likes -
Replying to @sgrif
@sgrif@tenderlove I know I don't "need" to, but I have a non-hash/array class I want to use a serializer for.2 replies 0 retweets 0 likes -
Replying to @erniemiller
@erniemiller@tenderlove Is this on 4.2? I'd use the attributes API over `serialize` for this case, then.1 reply 0 retweets 0 likes -
Replying to @sgrif
@sgrif@tenderlove Thought you said it wasn't public/stable yet in your talk?1 reply 0 retweets 0 likes
@erniemiller @tenderlove It's not public, but it's stable enough for this case. You're already using it. https://github.com/rails/rails/blob/4-2-stable/activerecord/lib/active_record/attribute_methods/serialization.rb#L50-L52 …
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.