MonoForge

rubaidh / default_scope

default_scope

Public

Set the default scope for an ActiveRecord model in Rails. Usually, I use it to set a default ordering for results...

5 filesupdated Jun 18, 2026

README

DefaultScope

DEPRECATED. Patched into Rails core as of v2.3

Copyright (c) 2007-2009 Rubaidh Ltd, released under the MIT license