Bug fix handle string or symbols.
Rails post send the params as string.