Ruby on Rails solutions to the Project Euler problems