Sha256: 6687cbd177100a832e1a778766bacc5d6f267aa3618fb7d992a74ed7b35902e4

Contents?: true

Size: 188 Bytes

Versions: 5

Compression:

Stored size: 188 Bytes

Contents

class Rate < ActiveRecord::Base
  belongs_to :rater, :class_name => "<%= file_name.classify %>"
  belongs_to :rateable, :polymorphic => true
  
  attr_accessible :stars, :dimension
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
seems_rateable-1.0.6 lib/generators/seems_rateable/templates/model.rb
seems_rateable-1.0.5 lib/generators/seems_rateable/templates/model.rb
seems_rateable-1.0.4 lib/generators/seems_rateable/templates/model.rb
seems_rateable-1.0.3 lib/generators/seems_rateable/templates/model.rb
seems_rateable-1.0.2 lib/generators/seems_rateable/templates/model.rb