Take a look at the demo.
first you have to unsderstand the rails elements used there.
view, controller, partial.
buying the rails book is probably the best way to understand and
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks