]> git.openstreetmap.org Git - rails.git/blob - lib/object_finder.rb
Use counter caches to improve spam scoring
[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