Support `where` with comparison operators (`>`, `>=`, `<`, and `<=`) by kamipo · Pull Request #39613 · rails/rails

posts = Post.order(:id) posts.where(&quot;id &gt;&quot;: 9).pluck(:id) # =&gt; [10, 11] posts.where(&quot;id &gt;=&quot;: 9).pluck(:id) # =&gt; [9, 10, 11] posts.where(&quot;id &lt;&quot;: 3).plu...