class SimpleForm::Inputs::GroupedCollectionSelectInput

def group_label_method

def group_label_method
  label = options.delete(:group_label_method)
  unless label
    common_method_for = detect_common_display_methods(detect_collection_classes(grouped_collection))
    label = common_method_for[:label]
  end
  label
end