Sha256: a48a0c38292444729ec3f67720608f23d047dd4779fa778f23a66bee2229b1e3

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

class User < ActiveRecord::Base
  has_many :tweets,   dependent: :destroy
  has_many :comments, dependent: :destroy
  has_one :avatar,    dependent: :destroy,  class_name: 'Picture',        as: :imageable
  has_one :setting,   dependent: :destroy,  class_name: 'AccountSetting'
  belongs_to :company
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dread-0.1.0 test/dummy/app/models/user.rb