# Reading multi-parameter assigned parameters (mouthful)

**URL:** <https://www.ruby-forum.com/t/reading-multi-parameter-assigned-parameters-mouthful/130495>\
**Category:** Rails\
**Created:** [February 28, 2008, 7:44pm UTC](https://www.ruby-forum.com/t/reading-multi-parameter-assigned-parameters-mouthful/130495 "2008-02-28T19:44:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/97f17d/32.png) [@brian](https://www.ruby-forum.com/u/brian)\
**Post date:** [February 28, 2008, 7:44pm UTC](https://www.ruby-forum.com/t/reading-multi-parameter-assigned-parameters-mouthful/130495/1 "2008-02-28T19:44:39Z")

</div>

How do I read the multi-parameter parameter that date\*\_select creates?

Right now it returns something like post[comment][time(1i)],  
post[comment][time(2i)], etc. Something like params[:post][:comment]  
[:time] won’t work.

My implementation isn’t exactly like the above, I have multiple  
attributes that are using the same hash format so there’ll be an input  
with name field[name\_of\_whatever][value], and maybe a normal select  
with format field[my\_user][value]. Since everything is using value I  
want to be able to do field[created\_at][value] or whatever.

Thanks,  
Brian B.
