Re: multiple keys

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

current_contest.videos.find(:round => 1, :comedy_type => 1, :limit => 6,
:order => “rank ASC”)

any ideas?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs