I'm looking for an easy way to integrate split testing into my Rails 3 application. I've researched and found two alternatives that seem to be up to date for Rails 3...
Vanity: http://vanity.labnotes.org
Split: https://github.com/andrew/split
However, both of these use Redis, which my employer doesn't want to use. I notice that Vanity can be used with ActiveRecord instead, but I was wondering if anyone had experience with setting up an A/B Split Test system without using Redis and what configuration would you recommend?
I don't have experience with Split but I have setup vanity without Redis. The way to do this is to 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: database_name
username: mysql_username
password: mysql_password
You can take a look at the A/Bingo plugin. It uses ActiveRecord, and there is a RailsCasts episode on how to configure and use it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With