This repository has been archived by the owner. 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

Projects
None yet
2 participants
@MissingHandle

No description provided.

MissingHandle added some commits Dec 14, 2010

Fixed incompatibility with a default_scope ordered on position column
  modified:   lib/active_record/acts/list.rb
  modified:   test/list_test.rb
Fixed erroneous comment
  modified:   test/list_test.rb
@robinjam

This comment has been minimized.

Show comment Hide comment
@robinjam

robinjam 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!

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

This comment has been minimized.

Show comment Hide comment
@MissingHandle

MissingHandle Mar 8, 2011

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

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.