Topic: rails 2 with ajax

I'm having trouble understanding how to work with ajax
I am veteran in JSF
I like to have a form with ajax render with call method bean.method in JSF
but in rails 2 ? how to make?
I would like to show me an example of a basic calculator
in only one page only form

Re: rails 2 with ajax

like to see an example made by a user without the use of models