]> git.openstreetmap.org Git - rails.git/blob - lib/object_finder.rb
Don't try and monkey patch database drivers that aren't loaded
[rails.git] / lib / object_finder.rb
1 module ObjectFinder
2   def visible
3     find :all, :conditions => "#{proxy_reflection.table_name}.visible = 1"
4   end
5 end