Ransack Issue # 290 explains that such requests contain two separate conditions that must be specified separately, then combined.
I have not tested this snippet, but it, or something very similar, should work:
.search(:m => 'or', :param_name_eq => -1, :param_name_null => true)
source share