test/dummy/app/models/user.rb in dread-0.0.5 vs test/dummy/app/models/user.rb in dread-0.0.6

- old
+ new

@@ -1,5 +1,6 @@ class User < ActiveRecord::Base - has_many :tweets, dependent: :destroy - has_many :comments, dependent: :destroy - has_one :setting, dependent: :delete, class_name: 'AccountSetting' + 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' end \ No newline at end of file