Rubocop autocorrections
This commit is contained in:
parent
a39c37a8e1
commit
3e95e8c4bc
85 changed files with 622 additions and 578 deletions
|
|
@ -13,13 +13,13 @@ class MoveConferenceContactDetailsToContact < ActiveRecord::Migration
|
|||
# Move all the settings to the new object
|
||||
TempConference.all.each do |conference|
|
||||
unless TempContact.exists?(conference_id: conference.id)
|
||||
TempContact.create(social_tag: conference.social_tag,
|
||||
email: conference.contact_email,
|
||||
facebook: conference.facebook_url,
|
||||
googleplus: conference.google_url,
|
||||
twitter: conference.twitter_url,
|
||||
instagram: conference.instagram_url,
|
||||
public: conference.include_social_media_in_splash,
|
||||
TempContact.create(social_tag: conference.social_tag,
|
||||
email: conference.contact_email,
|
||||
facebook: conference.facebook_url,
|
||||
googleplus: conference.google_url,
|
||||
twitter: conference.twitter_url,
|
||||
instagram: conference.instagram_url,
|
||||
public: conference.include_social_media_in_splash,
|
||||
conference_id: conference.id)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue