Sha256: 5531aa18ae9769f4f6486d051b49da23487265c5de87bb3b6f51ce3c91793be5

Contents?: true

Size: 108 Bytes

Versions: 5

Compression:

Stored size: 108 Bytes

Contents

class Product < ActiveRecord::Base
  sequential scope: :category_id, skip: lambda { |p| p.price == -1 }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sequential-0.2 test/dummy/app/models/product.rb
sequential-0.1 test/dummy/app/models/product.rb
sequential-0.0.3 test/dummy/app/models/product.rb
sequential-0.0.2 test/dummy/app/models/product.rb
sequential-0.0.1 test/dummy/app/models/product.rb