Using diff.rb

Has anyone ever had any luck getting this to work on a web app. I am
trying to get some results displayed on a view but with no luck. What
goes in the controller, model, and view. Note: I am using partial
forms. Any help would be helpful.