(#16) Use @resource.parameters.include? to check param definition to
work around a Ruby 1.9.3 bug.