When I do a regular GET, and have nothing in my params, what is the state of the params hash ? Blank ? Nil ? Something else ?
Cause I have a controller that I want to have execute an instruction only if params “has something in it”. I tried !params.nil? , !params.blank?
None of those worked, hence I keep entering the if block, and get a nil error…
Help !
Sounds like you want to use !params.empty?