test/dummy/app/models/user.rb in dread-0.0.7 vs test/dummy/app/models/user.rb in dread-0.1.0
- old
+ new
@@ -1,6 +1,7 @@
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'
-end
\ No newline at end of file
+ belongs_to :company
+end