Sha256: 93c6b281e3e3bf4a09b87654c4bda5e7d26996996405a82cc1d8a15af99726cf

Contents?: true

Size: 165 Bytes

Versions: 47

Compression:

Stored size: 165 Bytes

Contents

role = SpudRole.where(:name => 'User Moderator').first || SpudRole.new(:name => 'User Moderator')
role.permission_tags = ['users.manage', 'users.roles']
role.save()

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
tb_core-1.1.7 db/seeds.rb
tb_core-1.1.6 db/seeds.rb
tb_core-1.1.5 db/seeds.rb
tb_core-1.1.4 db/seeds.rb
tb_core-1.1.2 db/seeds.rb
tb_core-1.1.1 db/seeds.rb
tb_core-1.1.0 db/seeds.rb