Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View inject.rb
1 2 3 4 5 6 7 8 9
# Search.available_fields.find_all{|i| !i[:on_main_table]}.map{|i| i[:value].to_sym}
 
Search.available_fields.inject([]) do |collection, member|
if member[:on_main_table]
collection << member[:value].to_sym
else
collection
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.