source: subversion/sites/rails_port/lib/object_finder.rb @ 19899

Last change on this file since 19899 was 8443, checked in by tomhughes, 12 years ago

Railsify relation selection (aka ripping out the f*in SQL).

File size: 119 bytes
1module ObjectFinder
2  def visible
3    find :all, :conditions => "#{proxy_reflection.table_name}.visible = 1"
4  end
Note: See TracBrowser for help on using the repository browser.