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

NoMethodError: super: no superclass method `between' for Faker::Time:Class #973

Closed
tlarrieu opened this issue Jul 10, 2017 · 3 comments
Closed

Comments

@tlarrieu
Copy link

Hi all,

after updating to the newest version of the gem, I've started to run into some issues on my local machine (but not on my CI for some reasons) on a Rails 5.1 project:

Failure/Error: date_begin { Faker::Time.between(DateTime.now + 1.week, DateTime.now + 2.weeks) }
     
     NoMethodError:
       super: no superclass method `between' for Faker::Time:Class
  • Most recent working version: v1.7.3
  • Failing version: v1.8.0

FYI, I've managed to isolate the commit that "introduces" the failures through git bisect: baf7f82

I've located a few issues that seem linked one way or the other (by the type of error involved):

I'm not really sure what is going on there (aside from that it might a be a require issue) but would be glad to contribute if you guys could give me a starting point :)

@stympy
Copy link
Contributor

stympy commented Jul 10, 2017

Try grabbing the latest master... I just merged #971 which should fix the problem. If it works for you, I'll do a release.

@stympy
Copy link
Contributor

stympy commented Jul 10, 2017

I went ahead and released this as 1.8.1. Let me know if that doesn't fix the problem. :)

@stympy stympy closed this as completed Jul 10, 2017
@tlarrieu
Copy link
Author

I had the same issue as in #975 with v1.8.1 but v1.8.2 solved it.
Everything is back to working.

Thanks a lot for the swiftness!

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

No branches or pull requests

2 participants