Sha256: e6487d4642c197acbdd43c33e03416d26d12f64fa83a0c1974411d08c35c1ed5
Contents?: true
Size: 1.1 KB
Versions: 24
Compression:
Stored size: 1.1 KB
Contents
# encoding: UTF-8 # Copyright 2011 innoQ Deutschland GmbH # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. if User.where(:email => 'admin@iqvoc').none? User.create!( :forename => 'Admin', :surname => 'Istrator', :email => 'admin@iqvoc', :password => 'admin', :password_confirmation => 'admin', :active => true, :role => "administrator") end if User.where(:email => 'demo@iqvoc').none? User.create!( :forename => 'Demo', :surname => 'User', :email => 'demo@iqvoc', :password => 'cooluri', :password_confirmation => 'cooluri', :active => true, :role => "reader") end
Version data entries
24 entries across 24 versions & 1 rubygems