Sha256: a5cb800b6e1cd8a9cbdc12616eb7ab4e39ab9537593f51d755c82e3f08dae720

Contents?: true

Size: 194 Bytes

Versions: 9

Compression:

Stored size: 194 Bytes

Contents

class Comment < ActiveRecord::Base
  include GovernorComments::Comment
  belongs_to :resource, :<%= options[:polymorphic] ? 'polymorphic => :true' : %Q{class_name => "#{mapping.to.name}"} %>
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
governor_comments-0.2.7 lib/generators/governor/templates/models/comment.rb
governor_comments-0.2.6 lib/generators/governor/templates/models/comment.rb
governor_comments-0.2.5 lib/generators/governor/templates/models/comment.rb
governor_comments-0.2.4 lib/generators/governor/templates/models/comment.rb
governor_comments-0.2.3 lib/generators/governor/templates/models/comment.rb
governor_comments-0.2.2 lib/generators/governor/templates/models/comment.rb
governor_states-0.1.0 lib/generators/governor/templates/models/comment.rb
governor_comments-0.2.1 lib/generators/governor/templates/models/comment.rb
governor_comments-0.2.0 lib/generators/governor/templates/models/comment.rb