TIL that telling ActiveRecord `Item.find("13 LOL")` will successfully find the item with id 13. Ok.
-
-
Replying to @searls
Does it just truncate everything after the numbers? Try find “42 the answer to life the universe and everything”
1 reply 0 retweets 0 likes -
-
I am slightly surprised it doesn't throw some kind of invalid number exception. I guess I haven't made a habit of trying to throw non-numerics in a numeric field.
1 reply 0 retweets 0 likes
Replying to @supenguin @searls
We're literally just following Ruby's semantics here.
6:29 AM - 31 Jul 2018
0 replies
0 retweets
0 likes
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.