Module: Deleteable::ClassMethods
- Defined in:
- lib/deleteable.rb
Instance Method Summary collapse
Instance Method Details
#find(*args) ⇒ Object
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/deleteable.rb', line 20 def find(*args) if args[0] == (:exclusive_scope) args.shift super else with_scope(:find => {:conditions => ["#{table_name}.deleted_at is null"]}) do super end end end |