params

How to convert params variable as hash.I am not able to convert params as a hash.

If you are talking about the params variable you get in your controller actions, it's already a hash. Perhaps you can clarify what you're trying to do and the problem you have encountered?

Fred