# Params

**URL:** <https://www.ruby-forum.com/t/params/160313>\
**Category:** Rails\
**Created:** [February 14, 2009, 7:36am UTC](https://www.ruby-forum.com/t/params/160313 "2009-02-14T07:36:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vetrivel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/dc4da7/32.png) [@vetrivel](https://www.ruby-forum.com/u/vetrivel)\
**Post date:** [February 14, 2009, 7:36am UTC](https://www.ruby-forum.com/t/params/160313/1 "2009-02-14T07:36:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vetrivel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/dc4da7/32.png) [@vetrivel](https://www.ruby-forum.com/u/vetrivel)\
**Post date:** [February 14, 2009, 11:18am UTC](https://www.ruby-forum.com/t/params/160313/2 "2009-02-14T11:18:47Z")

</div>

On Feb 14, 6:36 am, Vetrivel V. \<rails-mailing-l…@andreas-  
[s.net](http://s.net)\> wrote:

> 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
