Small fixes
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
class User < ApplicationRecord
|
class User < ApplicationRecord
|
||||||
has_many :Jobs, foreign_key: :costumer_id
|
has_many :jobs, foreign_key: :costumer_id
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ Faker::Config.locale = :de
|
|||||||
10.times do
|
10.times do
|
||||||
User.new(firstname: Faker::Name.unique.first_name, lastname: Faker::Name.unique.last_name).save
|
User.new(firstname: Faker::Name.unique.first_name, lastname: Faker::Name.unique.last_name).save
|
||||||
end
|
end
|
||||||
|
|
||||||
['GanzWichtig.pdf', 'IchBinIn5MinDran.pdf', 'DerPlanDerImmerProblemeMacht.pdf',
|
['GanzWichtig.pdf', 'IchBinIn5MinDran.pdf', 'DerPlanDerImmerProblemeMacht.pdf',
|
||||||
'DieFarbenGefallenMirNicht.pdf', 'MachHinIchHabsEilig.pdf', 'WarumDauertDasSoLange.pdf',
|
'DieFarbenGefallenMirNicht.pdf', 'MachHinIchHabsEilig.pdf', 'WarumDauertDasSoLange.pdf',
|
||||||
'DenPlanBezahleIchNicht.pdf', 'IchWarAlsErstesDran.pdf', 'WarumIstDerPlotterDefekt.pdf', 'DasNächsteMalGeheIchWoAndersHin.pdf'].shuffle.each do |pdf|
|
'DenPlanBezahleIchNicht.pdf', 'IchWarAlsErstesDran.pdf', 'WarumIstDerPlotterDefekt.pdf', 'DasNächsteMalGeheIchWoAndersHin.pdf'].shuffle.each do |pdf|
|
||||||
|
|||||||
Reference in New Issue
Block a user