Permalink
Browse files

Possible fix for #8140.

  • Loading branch information...
1 parent dbaf734 commit 3ebced5588363f72299e29a7c7d5192e99b080bc @gstokkink gstokkink committed Apr 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/user.rb
View
@@ -370,7 +370,7 @@ def to_s
# Memoized reader for the role_assignments association
def fetch_role_assignments
- @role_assignments ||= user.role_assignments.all
+ @role_assignments ||= self.role_assignments.all
end
# Set a new verification_code for the user.

0 comments on commit 3ebced5

Please sign in to comment.