Question: I have a requirement of recording video via web cam, on my webpage. What are the available plugins for the same. My website is developed using Ruby on Rails framework

Regards,
Pankaj

Answer: 
The first hit on searching "webcam plugin": <http://www.xarg.org/project/jquery-webcam-plugin/>
As it is using JavaScript it is easy to include in Rails.

Many others appear in the results ...
Another option is to use the Nimbb widget. There are a lot of tutorials showing how to embed it into a website.