Posting variables from flash to rails app



I have a rails app in which a particular view is submitting a rating the
box that does this is named rating[rating]. Am I right in assuming that
it should
just be a case of rating[rating] = 10? Just want to know that that is
the right methodology so I can narrow it down to a flash problem.