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

Basic methods? #80

Closed
axhamre opened this issue Jun 4, 2014 · 1 comment
Closed

Basic methods? #80

axhamre opened this issue Jun 4, 2014 · 1 comment

Comments

@axhamre
Copy link

axhamre commented Jun 4, 2014

I have to switch gem from acts_as_list to ranked-model, because I need to restrict the scope.

I cannot find some of the basic methods for ranked-model though.

How do I get the position of an item relative to the others? (In AAL it's simply: position.)

And how would I remove an item to be included in the ranking set? (In AAL: remove_from_list.)

@brendon
Copy link
Owner

brendon commented Jun 4, 2024

Check out my new gem for an alternative: https://github.com/brendon/positioning

10 years later but...

@brendon brendon closed this as completed Jun 4, 2024
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