module PermanentRecords::Scopes
ActiveRelation scopes
Public Instance Methods
deleted()
click to toggle source
# File lib/permanent_records.rb, line 227 def deleted where arel_table[:deleted_at].not_eq(nil) end
not_deleted()
click to toggle source
# File lib/permanent_records.rb, line 231 def not_deleted where arel_table[:deleted_at].eq(nil) end