Extract find conditions from array

Try with this:

Contact_List.find_by_list_id(params[:joblist][:list_id]], :select => ‘DISTINCT contact_id’)