Removed unused Rails view code