Questions tagged [vanity]

Vanity is an Experiment Driven Development framework for Rails.

Vanity is a Ruby on Rails EDD (Experiment Driven Development) and A/B testing framework. It is compatible with a variety of datastores via ActiveRecord, including Redis, MongoDB, and SQL databases.

Resources

Related Tags

30 questions
7
votes
3 answers

Vanity, Rails 3 and Heroku

I'm trying to get Vanity to play nicely with Heroku and my Rails 3 app. At the moment, it all works fine locally using Pow and a local Redis server, but when I push to Heroku using the RedisToGo add-on, nothing seems to get the server running, I…
Tim Sullivan
  • 16,808
  • 11
  • 74
  • 120
2
votes
1 answer

Vanity not using Redis to Go server on Heroku

I've recently deployed some A/B testing experiments using vanity to my heroku instance. However, whenever I access the dashboard i.e. /vanity The following error shows up in the logs - ActionView::Template::Error (Connection refused - Unable to…
reillyse
  • 370
  • 4
  • 10
2
votes
1 answer

How to transfer Ethereum from one wallet to another wallet by using web3?

I am in the process of developing a custom ETH wallet, I am able to generate the public/private keys by using vanity eth. After receiving the amount in this wallet, I need to send ETH to another wallet for which I am trying to use web3. How do I do…
Dhara Chauhan
  • 51
  • 1
  • 3
1
vote
1 answer

Vanity url is not working with dispatcher in AEM 6.4

I am trying to setup vanity url in AEM 6.4. Followed and verified the below steps Installed the VanityURLS-Components Allowed ‘Read’ permission to /libs/granite/dispatcher/content/vanityUrls for the ‘everyone’ group on the publish servers Added a…
ezhil
  • 977
  • 6
  • 15
  • 36
1
vote
1 answer

Vanity gem: strange rails generate vanity error

I'm trying to introduce the Vanity gem into a project and everything is happy right up until I try to run the generator. This is the call: rails generate vanity And this is the output: Could not find generator 'vanity'. Maybe you meant 'vanity',…
jaydel
  • 14,389
  • 14
  • 62
  • 98
1
vote
1 answer

testing with Vanity and with MySQL?

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…
denniss
  • 17,229
  • 26
  • 92
  • 141
1
vote
1 answer

Controlling when participants are added with vanity a/b test

Using vanity to conduct an A/B test. The test is reliant on a modal that is conditionally shown to certain users. The modal contains different incentives based on which side of the test you see. The code for the modal is in a partial that gets…
toddmetheny
  • 4,405
  • 1
  • 22
  • 39
1
vote
2 answers

Can't Install Vanity A/B Testing on Rails

I'm trying to install Vanity A/B Testing in my Rails App, but I can't even get the example from the GitHub page working. I've generated the vanity models and run the migrations and made the experiment files, but as soon as I include a test like <%=…
Josh
  • 95
  • 10
1
vote
1 answer

Copy line to clipboard in Windows Command Prompt

@echo off cd C:\Users\"%username%"\Downloads\vanity\gen @echo off set /p Address="" vanitygen -X 0 1%Address% @echo off for /f "tokens=2" %%a in ('vanitygen 1%Address% ^| findstr Privkey ') do echo %%a|clip msg "%username%" Generation complete! Your…
0
votes
1 answer

Rails vanity gem custom metric error: private method `to_time' called

Hi I am trying to setup Vanity gem into a rail 3 application. I am creating a custom metric to experiment a bit. So I created it following the suggestions on their website: metric "Signups" do description "Signups completed" def values(from,…
Emanuel
  • 610
  • 6
  • 15
0
votes
0 answers

Discord Vanity Sniper

const request = require('request'); let token = ''; let server = ''; const url = { url: `https://discord.com/api/v10/guilds/${server}/vanity-url`, method: "PATCH", headers: { Authorization: `User ${token}`, …
Medi
  • 1
  • 1
0
votes
1 answer

Multiple Vanity URLs with different pages in different directories

I am trying to setup my .htaccess file to allow for multiple vanity URLs which is fine, but I'm running into issues with them with the pages being in different directories. First vanity URL is setup and working fine, which works like…
Snappysites
  • 804
  • 1
  • 10
  • 41
0
votes
1 answer

Vanity not works with MySql

I tried to install Vanity gem for my rails 2.3.5 application and I want to use MySQL for vanity. Everything is working great when I configure it with redis but when I change the config file to use mysql : development: adapter: active_record …
SteenhouwerD
  • 1,819
  • 1
  • 16
  • 22
0
votes
0 answers

rails vanity routing and url shortener

I am using vanity gem for email ab testing in order to track clicks, I use vanity tutorial : <%= link_to "see my page HERE", vanity_track_url_for(Vanity.context.vanity_identity, :metric, :controller => "controller" :action => "method", host =>…
ruby ninja
  • 36
  • 5
0
votes
0 answers

Getting a Vanity URL from FB login API

Our application requires the user to login through Facebook’s API. Facebook throws these parameters: ID First Name, Last Name Email ID APPed URL Our program was supposed to use the APP URL as input, use CURL functionality of PHP, and get the…
1
2