There is project cookbooxul as proof of concept XUL <-> rails by Zed Shaw.
http://www.zedshaw.com/projects/cookbooxul/index.html Just to warn, download links are not good.
I know that I have tried this online and seems to me as a really interesting concept.
Regards, Ernad