# File lib/ancestry/class_methods.rb, line 195 def unscoped_where if ActiveRecord::VERSION::MAJOR < 4 self.ancestry_base_class.unscoped do yield self.ancestry_base_class end else yield self.ancestry_base_class.unscope(:where) end end