]> git.openstreetmap.org Git - rails.git/blob - lib/object_finder.rb
Move the ActiveRecord::RecordNotFound to the block, so that it catches the not found...
[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