Fix ArgumentError: comparison of String with Time failed error for pr… #91
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ArgumentError: comparison of String with Time failed on Rails 3 and Rails 4.
detail:
ArgumentError: comparison of String with Time failed
'from (irb):1:in
>' from (irb):1 from /Users/kingjim/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/railties-4.1.6/lib/rails/commands/console.rb:90:in
start'from /Users/kingjim/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/railties-4.1.6/lib/rails/commands/console.rb:9:in
start' from /Users/kingjim/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:69:in
console'from /Users/kingjim/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:40:in
run_command!' from /Users/kingjim/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/railties-4.1.6/lib/rails/commands.rb:17:in
<top (required)>'from bin/rails:4:in
require' from bin/rails:4:in