Train systems exercise written in Ruby utilizing a SQL database.