mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Rubocop autocorrections
This commit is contained in:
parent
299738f58d
commit
43bef689fc
85 changed files with 622 additions and 578 deletions
|
|
@ -11,10 +11,10 @@ namespace :data do
|
|||
program.events.each do |event|
|
||||
unless event.start_time.nil? && event.room_id.nil?
|
||||
# we can not use .room as this relation has been removed
|
||||
EventSchedule.create(event: event,
|
||||
schedule: schedule,
|
||||
EventSchedule.create(event: event,
|
||||
schedule: schedule,
|
||||
start_time: event.start_time,
|
||||
room_id: event.room_id)
|
||||
room_id: event.room_id)
|
||||
event.start_time = nil
|
||||
event.room_id = nil
|
||||
event.save
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue