Sha256: ca4fcd15bb6199a48fff5a7aa324027db89f127c4ca8c18388f800c152f2727e
Contents?: true
Size: 393 Bytes
Versions: 4
Compression:
Stored size: 393 Bytes
Contents
module Lanes module Access user = Lanes::User.where(login: 'admin').first if user.nil? user = Lanes::User.create!(name: "Admin", email: "admin@test.com", password: 'password', password_confirmation: 'password', login: 'admin', role_names: ['administrator']) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
lanes-0.8.3 | lib/lanes/access/db/seed.rb |
lanes-0.8.2 | lib/lanes/access/db/seed.rb |
lanes-0.8.1 | lib/lanes/access/db/seed.rb |
lanes-0.8.0 | lib/lanes/access/db/seed.rb |