]> git.openstreetmap.org Git - rails.git/blob - lib/object_finder.rb
0.6-friendly Potlatch (work in progress). DO NOT SET POTLATCH_USE_SQL=false as it...
[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