エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Can't chain other operators or #as, etc from addition or subtraction · Issue #89 · rails/arel
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Can't chain other operators or #as, etc from addition or subtraction · Issue #89 · rails/arel
An addition or subtraction results in a Nodes::Grouping instance, and that class does not have th... An addition or subtraction results in a Nodes::Grouping instance, and that class does not have the mixins to support chaining additional methods. I can't even specify a column name using #as (e.g. (foo_table[:value] + 1).as(foo_plus_one). Attempting to do so results in... NoMethodError: undefined method `as' for #Arel::Nodes::Grouping:0x00000102e9b968 Likewise, I can't chain an addition to an addi

