Sha256: b9c2acce88930ea382b83172c6940bc28886c85dde7c929696a66af47bbf1b19

Contents?: true

Size: 118 Bytes

Versions: 7

Compression:

Stored size: 118 Bytes

Contents

class Rating < ActiveRecord::Base
  acts_as_sequenced :scope => :comment_id, :skip => lambda { |r| r.score == 0 }
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sequenced-3.1.1 test/dummy/app/models/rating.rb
sequenced-3.1.0 test/dummy/app/models/rating.rb
sequenced-3.0.0 test/dummy/app/models/rating.rb
sequenced-2.0.0 test/dummy/app/models/rating.rb
sequenced-1.6.0 test/dummy/app/models/rating.rb
sequenced-1.5.0 test/dummy/app/models/rating.rb
sequenced-1.4.0 test/dummy/app/models/rating.rb