Skip to content

Instantly share code, notes, and snippets.

@onewland
Created August 2, 2011 16:21
Show Gist options
  • Save onewland/1120560 to your computer and use it in GitHub Desktop.
Save onewland/1120560 to your computer and use it in GitHub Desktop.
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