試圖尋找其中的電影出來有一個發佈日期大於今天的日期的Rails其中date大於給定日期查詢
Movie.where('release > ?', Date.today)
ActiveRecord::StatementInvalid: Mysql::ParseError: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release > '2011-09-25')' at line 1: SELECT `movies`.* FROM `movies` WHERE (release > '2011-09-25')
可能的重複[你能比Rails 3搜索中的某個日期做比較嗎?](https://stackoverflow.com/questions/4224600/can-you-do-greater-than-comparison-on-一個最新-IN-A-軌s-3-search) –