where can I go to find some cgi examples in ruby?

I am looking for fairly straightforward stuff, for example, testing for
get or post method, getting parameter values, etc.

Thanks for your help.

Robert Najlis