Skip to content

Conversation

@cover
Copy link
Contributor

@cover cover commented Aug 16, 2014

Hi Gavin, sorry for the wait, I've splitted the commits related to paging to a single pull request. I've also upgraded to the last version of kaminari

There may be one more refactoring (which I haven't done yet). Currently the page_size is set in restpack_serializer config, but since it now uses kaminari's max_per_page, it'd make sense removing the page_size config and instead using kaminari's config (default_per_page) also for this. What do you think?

@GavinJoyce
Copy link
Contributor

Thanks!

Yeah, let's remove the :page_size from config and use kaminari's config instead. If you're going to create a PR for this, can you add a simple Configuration section to the readme?

GavinJoyce added a commit that referenced this pull request Aug 16, 2014
@GavinJoyce GavinJoyce merged commit 699714f into RestPack:master Aug 16, 2014
@GavinJoyce
Copy link
Contributor

I created an issue for the configuration documentation:

#90

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.

2 participants