Sha256: 9b4a2b08ce476e7dc794af33a8164e31fb8713c3ed9bdc692773f4b8a7391a25

Contents?: true

Size: 165 Bytes

Versions: 9

Compression:

Stored size: 165 Bytes

Contents

# frozen_string_literal: true

class Wart < ActiveRecord::Base
  belongs_to :person

  scope :very_hairy, lambda {
    where(arel_table[:hairiness].gteq(3))
  }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
temporal_tables-3.0.2 spec/internal/app/models/wart.rb
temporal_tables-3.0.1 spec/internal/app/models/wart.rb
temporal_tables-3.0.0 spec/internal/app/models/wart.rb
temporal_tables-3.0.0.pre.rc.1 spec/internal/app/models/wart.rb
temporal_tables-2.0.0 spec/internal/app/models/wart.rb
temporal_tables-1.1.0 spec/internal/app/models/wart.rb
temporal_tables-1.0.3 spec/internal/app/models/wart.rb
temporal_tables-1.0.2 spec/internal/app/models/wart.rb
temporal_tables-1.0.1 spec/internal/app/models/wart.rb