Fixed error in index.rb