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

Add require to ensure Time#advance works without implicit required #20534

Merged
merged 2 commits into from Sep 7, 2015

Conversation

qnm
Copy link

@qnm qnm commented Jun 12, 2015

The Issue

Using Time#advance without first loading active_support/core_ext/date/calculations (like Padrino may do) will result in an exception being raised.

I've created a testable code snippet at https://gist.github.com/qnm/63799aeb77cb6b9157f7

What I expect to happen

I expect the time to be advanced according to the supplied arguments

What actually happens

An exception is raised

@@ -0,0 +1 @@
2.1.4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this file added in git commit. Can you remove this ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, apologies.

@qnm
Copy link
Author

qnm commented Sep 4, 2015

@arunagw Anything I can do to move this along?

@arunagw
Copy link
Member

arunagw commented Sep 7, 2015

cc/ @senny

senny added a commit that referenced this pull request Sep 7, 2015
Add require to ensure Time#advance works without implicit required
@senny senny merged commit 92d1700 into rails:master Sep 7, 2015
@senny
Copy link
Member

senny commented Sep 7, 2015

@qnm @arunagw thanks guys 💛

senny added a commit that referenced this pull request Sep 7, 2015
Add require to ensure Time#advance works without implicit required
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

3 participants