Sha256: e5fc94b67d715f3cd660f03a541d29b83f83f7d111af90dfa53469096d94d9ed

Contents?: true

Size: 142 Bytes

Versions: 4

Compression:

Stored size: 142 Bytes

Contents

class Comment < ActiveRecord::Base
  attr_accessible :content

  belongs_to :post
  belongs_to :user, autosave: true, dependent: :destroy
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
embedded_associations-0.0.4 spec/support/app/app/models/comment.rb
embedded_associations-0.0.3 spec/support/app/app/models/comment.rb
embedded_associations-0.0.2 spec/support/app/app/models/comment.rb
embedded_associations-0.0.1 spec/support/app/app/models/comment.rb