Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Fixes incompatibility with default_scope order(:[position_column]) by calling with_exclusive_scope #11

Closed
wants to merge 2 commits into from

Conversation

MissingHandle
Copy link

No description provided.

  modified:   lib/active_record/acts/list.rb
  modified:   test/list_test.rb
  modified:   test/list_test.rb
@robinjam
Copy link

robinjam commented Mar 8, 2011

Perfect! I was pulling my hair out for a good hour before I realised there was a conflict between default_scope and acts_as_list - this fixed it. Thanks!

@MissingHandle
Copy link
Author

very welcome! thanks for letting me know you found it helpful.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants