When i call lastest.json?page=0&per_page=10&foo=bar
# String can't be coerced into Integer
# ./lib/topic_query.rb:729:in `*'
I think can resolve by:
offset = options[:page].to_i * options[:per_page].to_i
result = result.offset(offset) if offset > 0
This is a bit of a feature request, per_page is not part of our API (not used by the client at all). This would not fully solve the issue cause per_page would need to come with an upper limit of say maximum of 100-200.
Is there a specific reason you are looking to override page sizes?
Yes, We have a customer page to get the topics with waterfall flow.
Sure I think this is a feature request.
We can use default per_page and remove the per_page query.