Sha256: d0dae5e5327dab3a7614c3a90b40ff33e06950e36de948dd77e22b1ea5a9fa11

Contents?: true

Size: 194 Bytes

Versions: 2

Compression:

Stored size: 194 Bytes

Contents

class Star < ActiveRecord::Base

  extend ActsAsStarable::StarerLib
  extend ActsAsStarable::StarScopes

  belongs_to :starable, polymorphic: true
  belongs_to :starer,   polymorphic: true

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts_as_starable-0.1.1 lib/generators/templates/model.rb
acts_as_starable-0.1.0 lib/generators/templates/model.rb