Sha256: e2a8ead5d64140585d6a9aa0f990a744b1e637178b83095670f2435435eecc60
Contents?: true
Size: 240 Bytes
Versions: 10
Compression:
Stored size: 240 Bytes
Contents
class Document < ActiveRecord::Base scope :with_error, proc { where(status: :error) } scope :with_success, proc { where(status: :success) } scope :type_a, proc { where(doc_type: :a) } scope :type_b, proc { where(doc_type: :b) } end
Version data entries
10 entries across 10 versions & 3 rubygems