comment on max bit flag for user prefs

This commit is contained in:
r888888888
2015-07-06 18:49:57 -07:00
parent f6d2de5611
commit 574b11fc14

View File

@@ -16,6 +16,9 @@ class User < ActiveRecord::Base
ADMIN = 50
end
# bit_prefs is 64 bits signed so theoretical maximum
# is 0x8000 0000 0000 0000
BOOLEAN_ATTRIBUTES = {
:is_banned => 0x0001,
:has_mail => 0x0002,