KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
If I have an ActiveRecord::Base model with a default-scope: class Foo < ActiveRecord::Base default_scope :conditions => ["bar = ?",bar] end Is there any way to do a Foo.find without using the default_scope conditions? In other words, can you override a default scope? I would have thought that using 'default' in the name would suggest that it was overridable, otherwise it would be called something like global_scope , right?
Tags (comma-separated)
Save Edits
Cancel