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

feature-request: "paginate" method should be added to model relations #9

Open
bioform opened this issue Mar 26, 2013 · 2 comments
Open

Comments

@bioform
Copy link

bioform commented Mar 26, 2013

To use it like:

currentUser.posts.paginate...
@1602
Copy link
Owner

1602 commented Mar 26, 2013

as far as I remember 'defineScope' was created for that purposes

On Tue, Mar 26, 2013 at 3:21 PM, bioform [email protected] wrote:

To use it like:

currentUser.posts.paginate...


Reply to this email directly or view it on GitHubhttps://github.com//issues/9
.

@bioform
Copy link
Author

bioform commented Mar 26, 2013

It will be better to "defineScope" in "init" method of "railway-pagination" instead of complex logic in model code.
this scope should be compatible with "paginate" view helper

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