config/database.yml -> database.example.yml
Add mysql2.gem
Update schema.rb
Fix SQL
Add indexes on submissions table