Rails 6.1ã®ç®çæ©è½ã¨ãã¦ä»¥ä¸ã®ããã«æ¸ããwhereæ¡å¼µãå ¥ãã¦ããã§ããããããããã£ã¦6.1ããã¯revertããã¦ãã¾ãã¾ãã𥲠posts = Post.order(:id) posts.where("id >": 9).pluck(:id) # => [10, 11] posts.where("id >=": 9).pluck(:id) # => [9, 10, 11] posts.where("id <": 3).pluck(:id) # => [1, 2] posts.where("id <=": 3).pluck(:id) # => [1, 2, 3] github.com github.com ãªãã§ããããããªãã¨ã§å¼ãä¸ããåã§ã¯ãªãã®ã§ã6.1ã§ã¯predicateçæã«å¹²æ¸ã§ããæ¡å¼µãã¤ã³ããç¨æãã¦ããã以ä¸ã®ãããªã³ã¼ããé©å½ã«èªã¿è¾¼ã¾ããã¨ããã«
{{#tags}}- {{label}}
{{/tags}}