Skip to content

Commit f9e2549

Browse files
author
Jason Stumbaugh
committed
Remove unnecessary method call
As collect with never return nil
1 parent cb4d66a commit f9e2549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/activeadmin/searchable_select/select_input_extension.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def all_options_collection
5757
end
5858

5959
def selected_value_collection
60-
selected_records.collect { |s| option_for_record(s) }.compact
60+
selected_records.collect { |s| option_for_record(s) }
6161
end
6262

6363
def option_for_record(record)

0 commit comments

Comments
 (0)