You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wenn in Zeile 152 SecureRandom.random_number für since_months eine 0 generiert, dann gibt SecureRandom.random_number(since_months) in Zeile 158 einen float zwischen 0 und 1 zurück.
Damit kommt es zu folgendem Fehler:
generate_contacts.rb:170:in each': can't iterate from Float (TypeError) from generate_contacts.rb:170:inblock in
'
from generate_contacts.rb:150:in each' from generate_contacts.rb:150:in'
Zeile 152 muss folgendermaßen lauten:
since_months = SecureRandom.random_number($contribution_timespan) + 1
The text was updated successfully, but these errors were encountered:
Wenn in Zeile 152 SecureRandom.random_number für since_months eine 0 generiert, dann gibt SecureRandom.random_number(since_months) in Zeile 158 einen float zwischen 0 und 1 zurück.
Damit kommt es zu folgendem Fehler:
generate_contacts.rb:170:in
'each': can't iterate from Float (TypeError) from generate_contacts.rb:170:in
block infrom generate_contacts.rb:150:in
each' from generate_contacts.rb:150:in
'Zeile 152 muss folgendermaßen lauten:
since_months = SecureRandom.random_number($contribution_timespan) + 1
The text was updated successfully, but these errors were encountered: