Sha256: 469f3b6d433f59d410595ac9dd594e92eccef673a5bb059fe94849c96cb45174

Contents?: true

Size: 174 Bytes

Versions: 7

Compression:

Stored size: 174 Bytes

Contents

class TestModel < ActiveRecord::Base
  has_many :child_models
  scope :completed, -> () { where(completed: true)  }
  scope :active,    -> () { where(completed: false) }
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hyper-mesh-0.6.0 spec/test_app/app/models/public/test_model.rb
hyper-mesh-0.5.4 spec/test_app/app/models/public/test_model.rb
hyper-mesh-0.5.3 spec/test_app/app/models/public/test_model.rb
hyper-mesh-0.5.2 spec/test_app/app/models/public/test_model.rb
hyper-mesh-0.5.1 spec/test_app/app/models/public/test_model.rb
hyper-mesh-0.5.0 spec/test_app/app/models/public/test_model.rb
hyper-mesh-0.4.0 spec/test_app/app/models/public/test_model.rb