Sha256: d697803f0d6566782da00f483d5fd4e7521b8a34a89590c768fa6c62f8ced331

Contents?: true

Size: 143 Bytes

Versions: 15

Compression:

Stored size: 143 Bytes

Contents

# -*- encoding: utf-8 -*-
class Item < ActiveRecord::Base
  scope :on_shelf, where('shelf_id != 1')
  scope :on_web, where(:shelf_id => 1)
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
enju_question-0.0.17 spec/dummy/app/models/item.rb
enju_question-0.0.16 spec/dummy/app/models/item.rb
enju_question-0.0.15 spec/dummy/app/models/item.rb
enju_question-0.0.14 spec/dummy/app/models/item.rb
enju_question-0.0.13 spec/dummy/app/models/item.rb
enju_question-0.0.12 spec/dummy/app/models/item.rb
enju_question-0.0.11 spec/dummy/app/models/item.rb
enju_question-0.0.10 spec/dummy/app/models/item.rb
enju_question-0.0.9 spec/dummy/app/models/item.rb
enju_question-0.0.8 spec/dummy/app/models/item.rb
enju_question-0.0.7 spec/dummy/app/models/item.rb
enju_question-0.0.6 spec/dummy/app/models/item.rb
enju_question-0.0.5 spec/dummy/app/models/item.rb
enju_question-0.0.4 spec/dummy/app/models/item.rb
enju_question-0.0.3 spec/dummy/app/models/item.rb