This is a fun error TypeError: can't quote Hash
-
-
Replying to @coreyhaines
Regardless of whether or not this ends up being a good error or a minor annoyance -- That is a really poor message. I'll fix it
1 reply 0 retweets 0 likes -
Replying to @sgrif
:) Thanks for chiming in on this. definitely made a more clear debug path, saving me time, for sure. Thanks!
1 reply 0 retweets 0 likes -
-
Replying to @sgrif
haha! def test_question_status(name, organization: create_test_organization) test_question_status(name: "First Status", organization: o) :)
1 reply 0 retweets 0 likes -
Replying to @coreyhaines @sgrif
Protip: If you don't have a named parameter, don't call it with one. :)
2 replies 0 retweets 0 likes -
Replying to @coreyhaines
Haha glad to hear that the error was catching an actual bug!
1 reply 0 retweets 0 likes -
Replying to @sgrif
For sure. I try to live by the mantra "sort isn't broken" when I get an error from tools, especially Rails (5.0.3)
2 replies 0 retweets 0 likes -
Replying to @coreyhaines
It's less broken now that we aren't implicitly converting things to YAML unless you tell us to at least. XD
1 reply 0 retweets 0 likes
We should include the column name 100% of the time when possible though. And probably mention `serialize` if it was a hash
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.