rubaidh / default_scope
default_scope
PublicSet 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
files5Download
./libJun 15, 2026init.rbJun 15, 2026MIT-LICENSEJun 15, 2026RakefileJun 15, 2026READMEJun 18, 2026README
DefaultScope
DEPRECATED. Patched into Rails core as of v2.3
Copyright (c) 2007-2009 Rubaidh Ltd, released under the MIT license