Create a Ransack.all_predicates hash that the predicate key values a opposed to pushing it onto a select data attribute, this gives us the ability to show the search with zero conditions to begin with if need be.

all_predicates = builder.predicate_keys(locals).inject({}) do |memo, key|
    memo.merge(key => Ransack::Translate.predicate(key))
end
Ransack.all_predicates = #{all_predicates.to_json}