app/models/user_preference.rb in erp_app-3.0.0 vs app/models/user_preference.rb in erp_app-3.0.1
- old
+ new
@@ -1,5 +1,5 @@
class UserPreference < ActiveRecord::Base
- belongs_to :user, :dependent => :destroy
- belongs_to :preference, :dependent => :destroy
- belongs_to :preferenced_record, :polymorphic => true, :dependent => :destroy
+ belongs_to :user
+ belongs_to :preference
+ belongs_to :preferenced_record, :polymorphic => true
end