Colin L. wrote:
It does not matter if you have a variable called varname (don’t use
VARNAME, upper case implies a constant in ruby). params[:varname]
checks whether the params hash contains an entry for the key varname
and is not affected by any variable called varname.
Okay, sorry. I was worried about being english-readable and I became
I -think- he is saying that he has:
params[:varname] … And params[:varname] may exist for some other
purpose but not the purpose he needs, so he wants to make sure it’s the
params[:varname] he wants. Does that make sense?
Yeah, it doesn’t make sense to me either. That’s why I suggested only
passing parameters with unique names.