HOw to use javascript in rails?

Hi to all,

I am a newbie in rails or ROR, can we use javascript in rails?
Any documentation or blog will be welcome.

Regards
Hunt