Summary of problem: my params hash is being made nil in my controller
without any reason that I can identify.
Everything was fine until I put this new code as the first lines of code
in my controller. But the block is not being executed because the puts
statement is not evaluated:
puts "in if statement"
@query = Query.where(:id => params[:id])
params = eval(@query.queryString).to_options
The controller then fails in the first line of the next block of code
(below), and the error is that I am evaluating a nil object.
@instances_array = get_instances_array(params[:instance])
@instances_array = 
@grouped_elb_instances = 
If I comment out the first 'if' block, the controller works perfectly.
When I print the params before the if statement, it has a value, but for
some reason, it seems like the params variable is cleared from memory.
I have no idea what is happening.