Created
August 2, 2011 16:21
-
-
Save onewland/1120560 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/models/user.rb b/app/models/user.rb | |
index db473e4..12179b9 100644 | |
--- a/app/models/user.rb | |
+++ b/app/models/user.rb | |
@@ -454,7 +454,7 @@ class User < Principal | |
end | |
# Returns the anonymous user. If the anonymous user does not exist, it is created. There can be only | |
- # one anonymous user per database. | |
+ # one highlander. | |
def self.anonymous | |
anonymous_user = AnonymousUser.find(:first) | |
if anonymous_user.nil? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment