Sha256: 803b2a6183bf4041a0577daa2d08a75177b86c0232b8835b81c438dedeb204d5

Contents?: true

Size: 167 Bytes

Versions: 5

Compression:

Stored size: 167 Bytes

Contents

class SpudPostComment < ActiveRecord::Base

	validates_presence_of :author, :content
  belongs_to :post, :class_name => 'SpudPost', :foreign_key => 'spud_post_id'

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spud_blog-0.8.0 app/models/spud_post_comment.rb
spud_blog-0.7.5 app/models/spud_post_comment.rb
spud_blog-0.7.4 app/models/spud_post_comment.rb
spud_blog-0.7.2 app/models/spud_post_comment.rb
spud_blog-0.7.0 app/models/spud_post_comment.rb