summaryrefslogtreecommitdiff
path: root/db/seeds.rb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-06 13:58:56 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-06 13:58:56 -0400
commit6be38bc3b6ee5546c0d1f26497c2687b4138df35 (patch)
tree3557ea82d5aa699a2811b949c7a7d1b69e87d248 /db/seeds.rb
parenta81c1ca571b0bb41f0acba6594559c7405fc2bb1 (diff)
User.permission_bits: return 2^n instead of n for each.
This way they can easily be ORed together, C-like.
Diffstat (limited to 'db/seeds.rb')
0 files changed, 0 insertions, 0 deletions