Skip to content
Browse files

Removed sample.rb

  • Loading branch information...
1 parent 3842088 commit 4d317f10fe30bcb993eacab71351b560c76a1448 @cannikin committed Apr 10, 2012
Showing with 0 additions and 6 deletions.
  1. +0 −6 sample.rb
View
6 sample.rb
@@ -1,6 +0,0 @@
-output = {}
-permissions = Role.first.permissions.includes(:permission_type)
-permissions.each do |per|
- output.deep_merge!({ per.permission_type.object_type.to_sym => { per.permission_type.klass.to_sym => { per.permission_type.key.to_sym => per.enabled } } })
-end
-ap output

0 comments on commit 4d317f1

Please sign in to comment.
Something went wrong with that request. Please try again.