A multi-armed bandit optimization framework for Rails