# Re: multiple keys

**URL:** <https://www.ruby-forum.com/t/re-multiple-keys/107937>\
**Category:** Rails\
**Created:** [June 27, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/re-multiple-keys/107937 "2007-06-27T18:40:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Bradley](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/f0a364/32.png) [@Jonathan\_Bradley](https://www.ruby-forum.com/u/Jonathan_Bradley)\
**Post date:** [June 27, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/re-multiple-keys/107937/1 "2007-06-27T18:40:28Z")

</div>

I’m trying to find some videos from a table by the columns comedy\_type  
and  
round. I tried the following with no luck

current\_contest.videos.find(:round =\> 1, :comedy\_type =\> 1, :limit =\> 6,  
:order =\> “rank ASC”)

any ideas?
