Sha256: eca19d4f44e97170b3341b3aabeda16296a9fe8a56e761cd668c569cdbefe141

Contents?: true

Size: 289 Bytes

Versions: 8

Compression:

Stored size: 289 Bytes

Contents

# -*- encoding : utf-8 -*-
Permission.create( :name => "SuperAdmin" ) if Permission.find_by_name("SuperAdmin").nil?

if Administrator.count.zero?
	Administrator.create :name => "Administrator", :email => 'admin@admin.com', :password => 'admin123', :password_confirmation => 'admin123'
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mdd-3.0.13 lib/generators/mdwa/sandbox/templates/db/seeds/site.rb
mdd-3.0.10 lib/generators/mdwa/sandbox/templates/db/seeds/site.rb
mdd-3.0.9 lib/generators/mdwa/sandbox/templates/db/seeds/site.rb
mdd-3.0.8 lib/generators/mdwa/sandbox/templates/db/seeds/site.rb
mdd-3.0.7 lib/generators/mdwa/sandbox/templates/db/seeds/site.rb
mdd-3.0.6 lib/generators/mdwa/sandbox/templates/db/seeds/site.rb
mdd-3.0.4 lib/generators/mdwa/sandbox/templates/db/seeds/site.rb
mdd-3.0.3 lib/generators/mdwa/sandbox/templates/db/seeds/site.rb