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

Mention the built-in alternative to Timecop for Rails #71

Open
pirj opened this issue Nov 23, 2018 · 2 comments
Open

Mention the built-in alternative to Timecop for Rails #71

pirj opened this issue Nov 23, 2018 · 2 comments
Assignees

Comments

@pirj
Copy link
Member

pirj commented Nov 23, 2018

While still useful outside of Rails, Timecop has its downsides, one is that it's not thread-safe.

AS already has what Timecop provides, freeze_time, travel, travel_back, travel_to.

@andyw8
Copy link
Contributor

andyw8 commented Nov 30, 2018

@pirj I've suggested this as a cop for rubocop-rails:

rubocop/rubocop-rails#20

@pirj pirj self-assigned this Feb 5, 2019
@sambostock
Copy link

FYI I've opened rubocop/rubocop-rails#38 to address this.

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 a pull request may close this issue.

3 participants