エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
In PostgreSQL, `find_by('9999999999999999999999999999999')` raises an error instead of returning `nil` · Issue #17380 · rails/rails
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
In PostgreSQL, `find_by('9999999999999999999999999999999')` raises an error instead of returning `nil` · Issue #17380 · rails/rails
Reproduction steps: https://gist.github.com/chancancode/f909d105ba70ab7f4779 This bug actually is... Reproduction steps: https://gist.github.com/chancancode/f909d105ba70ab7f4779 This bug actually is present in 4.1 as well (but it only affected the first find test case), and what is shown here is just an example of a bigger issue. The problem is that on 4.1 we switched to use parameterized queries with the find call, and in 4.2 more of those calls followed (I noticed it in find_by, but there might

