1

I am trying to find a framework that allows me to do AB testing and I have found several: ABingo, Vanity and 7minutes AB. I am liking ABingo and Vanity and starting to like Vanity more but the bad thing is that Vanity requires Redis (? is this true ?). I am just wondering if there is a workaround to use Vanity with MySQL.

phillbaker
  • 1,518
  • 11
  • 22
denniss
  • 17,229
  • 26
  • 92
  • 141

1 Answers1

2

No, Vanity can work with MySQL as well. To get it working in your development environment, just add the following to your config/environments/development.rb

Vanity.playground.establish_connection :development

Then, create a file called vanity.yml under config/ and add the following:

development:
  adapter: active_record
  active_record_adapter: mysql
  host: localhost
  database: vanity
  username: my_username
  password: my_password
Gaurav Gupta
  • 5,380
  • 2
  • 29
  • 36