Observing Radio buttons

Hello everyone,

Please tell me how to write observers (observe_field) with radio
buttons. I am new to rails.
Please send me code snippets if possible.

Thanks,
Nitin.