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.5.4 db/seeds.rb
tb_core-1.5.3 db/seeds.rb
tb_core-1.5.2 db/seeds.rb
tb_core-1.5.1 db/seeds.rb
tb_core-1.4.3.1 db/seeds.rb
tb_core-1.5.0 db/seeds.rb
tb_core-1.4.8 db/seeds.rb
tb_core-1.4.7 db/seeds.rb
tb_core-1.4.6 db/seeds.rb
tb_core-1.4.5 db/seeds.rb
tb_core-1.4.4 db/seeds.rb
tb_core-1.4.3 db/seeds.rb
tb_core-1.4.2 db/seeds.rb
tb_core-1.4.1 db/seeds.rb
tb_core-1.4.0.1 db/seeds.rb
tb_core-1.4.beta2 db/seeds.rb
tb_core-1.4.beta1 db/seeds.rb
tb_core-1.3.10 db/seeds.rb
tb_core-1.3.9 db/seeds.rb
tb_core-1.3.7 db/seeds.rb