app/models/locomotive/content_type.rb
# We do not want to have a blank value in the list of accounts.
We do not want to have a blank value in the list of accounts.
We do not want to have a blank value in the list of accounts .
def sanitize_public_submission_accounts
      if self.public_submission_accounts
        self.public_submission_accounts.reject! { |id| id.blank? }
      end
    end
def sanitize_public_submission_accounts if self . public_submission_accounts self . public_submission_accounts . reject! { | id | id . blank? } end end
We do not want to have a blank value in the list of accounts.
We do not want to have a blank value in the list of accounts .