Rails and YUI

I would like make use of YUI and Rails but I am not having much luck
putting them together. Does anyone have a small application that
combines some small aspect of YUI in a simple rails app as an example?

I seem to be missing something REAL simple. There are examples (or
more like snippets) out there. If I can get a copy of a complete
(small and simple would be nice) app, that would be perfect.