Fixed caching.
This commit is contained in:
parent
fb910d03a3
commit
b4bb6ae059
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
class Authorization < ApplicationModel
|
||||
belongs_to :user, :after_add => :cache_update, :after_remove => :cache_update
|
||||
belongs_to :user
|
||||
validates_presence_of :user_id, :uid, :provider
|
||||
validates_uniqueness_of :uid, :scope => :provider
|
||||
|
||||
|
|
Loading…
Reference in a new issue