Created
June 26, 2009 03:21
-
-
Save crash2burn/136286 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE: The sequel version on these machines may be a tiny bit off, but as far as I understand there wasn't any changes to this kind of stuff. | |
# ruby 1.8 | |
irb(main):024:0> Login.filter(:created_at > Time.now) | |
=> #<Sequel::MySQL::Dataset: "SELECT * FROM `logins` WHERE (`created_at` > '2009-06-25 23:15:57')"> | |
# ruby 1.9 | |
irb(main):006:0> Login.filter(:created_at > Time.now) | |
ArgumentError: comparison of Symbol with Time failed | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment