Fixes deprication of :confirm method in views
Corrects api visit path in test
Hash#diff is removed from rails. Defines a diff method to prevent showing deprication warnings
Remove binding.pry that mistakenly commited to repo