Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

Use reorder instead of order to override default_scope order.#89

Open
webervin wants to merge 1 commit intoactiverecord-hackery:masterfrom
webervin:patch-1
Open

Use reorder instead of order to override default_scope order.#89
webervin wants to merge 1 commit intoactiverecord-hackery:masterfrom
webervin:patch-1

Conversation

@webervin
Copy link
Copy Markdown

Only other way to override default scope order AND keep power of meta_search ordering would be:
ModelClass.reorder(true).search(.....) which seems a bit awful to me, and may explode for some databases.

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.

1 participant