Sha256: 574aeb45a2a04c48090e8ba2509d26aab49b1c5ebcd183ccd3cef2a5aa3b6ffd

Contents?: true

Size: 114 Bytes

Versions: 4

Compression:

Stored size: 114 Bytes

Contents

class Comment < ActiveRecord::Base
  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-4.1.2 spec/support/app/app/models/comment.rb
embedded_associations-4.1.1 spec/support/app/app/models/comment.rb
embedded_associations-4.1.0 spec/support/app/app/models/comment.rb
embedded_associations-4.0.0 spec/support/app/app/models/comment.rb