Sha256: 2cb9ad475498b04e62d96f2b92e1ee195f9f8feba85a12aa54cd31d16bcd859d

Contents?: true

Size: 130 Bytes

Versions: 12

Compression:

Stored size: 130 Bytes

Contents

class Wart < ActiveRecord::Base
  belongs_to :person

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
temporal_tables-0.8.1 spec/internal/app/models/wart.rb
temporal_tables-0.8.0 spec/internal/app/models/wart.rb
temporal_tables-0.7.1 spec/internal/app/models/wart.rb
temporal_tables-0.7.0 spec/internal/app/models/wart.rb
temporal_tables-0.6.10 spec/internal/app/models/wart.rb
temporal_tables-0.6.9 spec/internal/app/models/wart.rb
temporal_tables-0.6.7 spec/internal/app/models/wart.rb
temporal_tables-0.6.6 spec/internal/app/models/wart.rb
temporal_tables-0.6.4 spec/internal/app/models/wart.rb
temporal_tables-0.6.3 spec/internal/app/models/wart.rb
temporal_tables-0.6.2 spec/internal/app/models/wart.rb
temporal_tables-0.6.1 spec/internal/app/models/wart.rb