Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AR test suite error under Rubinius 2.0 #rbxday #2439

Merged

Conversation

guilleiguaran
Copy link
Member

I got this error running AR tests under Rubinius:


undefined method `to_time' on an instance of Time. (NoMethodError)

Backtrace:
  Kernel(Time)#to_time (method_missing) at kernel/delta/kernel.rb:79
     Time#<=> (compare_with_coercion) at /Users/guille/code/rails/activesupport
                                         /lib/active_support/core_ext/time
                                         /calculations.rb:310

The error is fixed including a missing require

tenderlove added a commit that referenced this pull request Aug 5, 2011
Fix AR test suite error under Rubinius 2.0 #rbxday
@tenderlove tenderlove merged commit ab2582f into rails:master Aug 5, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants