Sha256: ef3edf743092ac7fbb91cde7651d137c7df9b24c55a3e26ebd4c8eaa9d470fcb

Contents?: true

Size: 162 Bytes

Versions: 2

Compression:

Stored size: 162 Bytes

Contents

class Like < ActiveRecord::Base
  include MyFeeds::Identify
  self.feed_polymorphic = :likeable
  #attr_accessible

  belongs_to :likeable, polymorphic: true
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
my_feeds-0.1.0 lib/rails/generators/templates/like_model.rb
my_feeds-0.1.0 spec/models/like.rb