Blank values for array types #34

tfwright opened this Issue Feb 8, 2013 · 1 comment


None yet

2 participants

tfwright commented Feb 8, 2013

According to the docs, "Blank values are not sent to scopes by default." But as far as I can tell, Rails array query params are never blank since param[]= is parsed as param: [""] and [""].blank? is false.

Does it make sense to add special handling for checking if array params are blank? Perhaps by massaging params first rejecting any blank array values? Taking this logic a step further, it could also check for blank hash values, so that param[key][]= would also not be applied (effectively solving #11 I believe).

cc @jmazzi


Closed by #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment