How to Build a FaceBook Application with Rails
Liverail.net has a comprehensive tutorial covering how to build a Facebook platform application using Ruby on Rails from start to finish.
The guys over at Thoughtbot also wrote a post two weeks ago looking at some of what they've learned while porting an application to the Facebook platform.