In my Post.rb model, I have default_scope :conditions => {:deleted => \'false\'}
default_scope :conditions => {:deleted => \'false\'}
But if I try to run Post.find(:all, :conditions => \"del
Post.find(:all, :conditions => \"del
This one was somehow left hidden :)
Just use Post.unscoped.where(:deleted => true), if you're using Rails 3
Post.unscoped.where(:deleted => true)
Credit goes to José Valim for this.