Sha256: ca8648dd22afd7ec20bca44e15f8608ebe85e785bfb7bb4a6a2e0866123cc830
Contents?: true
Size: 1.39 KB
Versions: 5
Compression:
Stored size: 1.39 KB
Contents
CONFIG[:logs].each do |name, path| LogErrorType.create(value: name) end kreator = Kreator.create({name: 'Николай Мартынов'}) kreator.user_card.nickname_access_cards.first.update({value: 'boss'}) kreator.user_card.email_access_cards.first.update({value: 'shadows.of.unevenness@gmail.com'}) kreator.user_card.phone_access_cards.first.update({value: 9777443205}) kreator.user_card.update({password: 'xxxxxxxxx', status: 1}) admin = Admin.create({name: 'Пётр Аксёнов'}) admin.user_card.nickname_access_cards.first.update({value: 'admin'}) admin.user_card.email_access_cards.first.update({value: 'aaa@aaa.aaa'}) admin.user_card.phone_access_cards.first.update({value: 1111111111}) admin.user_card.update({password: 'kkkkkkkkk', status: 1}) manager = Manager.create({name: 'Master of Puppets'}) manager.user_card.nickname_access_cards.first.update({value: 'manager'}) manager.user_card.email_access_cards.first.update({value: 'ppp@ppp.ppp'}) manager.user_card.phone_access_cards.first.update({value: 9777777771}) manager.user_card.update({password: 'kkkkkkkkk', status: 1}) client = Client.create({name: 'Big Russian Boss'}) client.user_card.nickname_access_cards.first.update({value: 'client'}) client.user_card.email_access_cards.first.update({value: 'kkk@kkk.kkk'}) client.user_card.phone_access_cards.first.update({value: 9777777777}) client.user_card.update({password: 'kkkkkkkkk', status: 1})
Version data entries
5 entries across 5 versions & 1 rubygems