lib/osso/models/user.rb in osso-0.0.5.pre.lambda vs lib/osso/models/user.rb in osso-0.0.5.pre.theta

- old
+ new

@@ -1,11 +1,11 @@ # frozen_string_literal: true module Osso module Models class User < ActiveRecord::Base - belongs_to :enterprise_account, counter_cache: true - belongs_to :identity_provider, counter_cache: true + belongs_to :enterprise_account + belongs_to :identity_provider has_many :authorization_codes, dependent: :delete_all has_many :access_tokens, dependent: :delete_all def oauth_client identity_provider.oauth_client