Trying to search where movies coming out have a release date greater than today\'s date
Movie.where(\'release > ?\', Date.today)
ActiveRecord::StatementInval
Rails core team decided to revert this change for a while, in order to discuss it in more detail. See this comment and this PR for more info.
I am leaving my answer only for educational purposes.
Movie.where('release >': DateTime.now)
Here is a link to PR where you can find more examples.