Tag: default_scope
Ruby on Rails: how to override default_scope – a better approach
July 2, 2010 Leave a comment
Ever used default_scope in RoR? Ever regretted you had ever read about this feature after you wrote tons of code and later realized you can’t access the records you need in a convenient way when necessary? Try googling “how to override default_scope” and you will find tons of advices how…