app/controllers/groups_controller.rb
# Check if all required columns are present and returns the one that aren't
Check if all required columns are present and returns the one that aren't
Check if all required columns are present and returns the one that aren ' t
def filter_columns(headers)
      filter_columns = []
      headers.each do |header|
        if !@mandatory_columns.include? header
          filter_columns << header
        end
      end
      filter_columns
    end
def filter_columns ( headers ) filter_columns = [ ] headers . each do | header | if ! @mandatory_columns . include? header filter_columns << header end end filter_columns end
Check if all required columns are present and returns the one that aren't
Check if all required columns are present and returns the one that aren ' t
headers
<not_specific>