Sha256: 648cc2863f79bb4b3fbd001a5a33a801341a1e82525be723a773724943f992ea

Contents?: true

Size: 131 Bytes

Versions: 4

Compression:

Stored size: 131 Bytes

Contents

class User < ActiveRecord::Base
  has_one :account, autosave: true, dependent: :destroy
  has_many :posts
  has_many :comments
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
embedded_associations-4.1.2 spec/support/app/app/models/user.rb
embedded_associations-4.1.1 spec/support/app/app/models/user.rb
embedded_associations-4.1.0 spec/support/app/app/models/user.rb
embedded_associations-4.0.0 spec/support/app/app/models/user.rb