Updated parser.rb route to database