Linter fixes (many unrelated)
This commit is contained in:
parent
d40229a054
commit
d040d9c6ab
20 changed files with 100 additions and 79 deletions
|
|
@ -17,7 +17,7 @@ class MigrateDataRemoveColumnIncludeCfpInSplashAddColumnIncludeCfp < ActiveRecor
|
|||
TempConference.all.each do |conference|
|
||||
cfp = TempCallForPaper.find_by(conference_id: conference.id)
|
||||
|
||||
if cfp && cfp.include_cfp_in_splash
|
||||
if cfp&.include_cfp_in_splash
|
||||
splashpage = TempSplashpage.find_or_initialize_by(conference_id: conference.id)
|
||||
splashpage.include_cfp = cfp.include_cfp_in_splash # true
|
||||
splashpage.save!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue