Fixed the Rails view example