-
Notifications
You must be signed in to change notification settings - Fork 46
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
Get more than 20 results for popular, upcoming etc. #4
Comments
Thanks. You can pass the param "page" to all methods that supports such paramater, for example you could write |
Thanks for the reply. I'm unable to make that work. I receive a "wrong number of arguments (1 for 0)" error. Is there something I need to set up first? |
What method are you calling with param page? |
Here is what I'm trying: toprated = Tmdb::Movie.top_rated page: 2 |
I tried the same exact call and it's working for me, no exeception is raised. Are you using the last available version of the gem? What ruby version are you on? |
Interesting. I'm running ruby 2.2.1p85. I have updated all of my gems and still have the same problem. |
Ok, Ruby version should be ok. Can you please send me the full stack trace of the exception raised? |
Sure, is this what you are looking for?
|
Yes. As I can see from this output the error seams to be on line 10 of
|
Absolutely, here you go: https://gist.github.com/joshkremer/77ca70119a6086822d10a3f8d8734b11 |
I just tryed too and I get the expected results.
But I had to correct the Hope this solves the mistery! 👍 |
That was it! Thanks so much for the help! |
Great gem, really useful! Can you tell me how I could receive more than 20 results when using popular, upcoming etc? I assume I need to paginate, but I can't find where to do that in your gem. Thanks!
The text was updated successfully, but these errors were encountered: