Questions tagged [vanity]

Vanity is an Experiment Driven Development framework for Rails.

Filter by
Sorted by
Tagged with
0 votes
0 answers
452 views

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: { ...
Medi's user avatar
  • 1
0 votes
1 answer
44 views

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 ...
Snappysites's user avatar
1 vote
1 answer
884 views

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 ...
ezhil's user avatar
  • 997
1 vote
1 answer
88 views

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 ...
jaydel's user avatar
  • 14.4k
0 votes
0 answers
175 views

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, :...
ruby ninja's user avatar
2 votes
1 answer
8k views

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 ...
Dhara Chauhan's user avatar
0 votes
0 answers
612 views

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, ...
user7285861's user avatar
0 votes
1 answer
75 views

Custom Vanity views being ignored

I'm using the vanity gem to do some AB testing, but my report is all messed up. The auto-generated css and views have a width of 40em which I would like to change. Following the Vanity Documentation I ...
James.Oliver's user avatar
-1 votes
1 answer
46 views

PHP returning wrong row in mysqli prepared statment

I'm trying to create vanity URL's for my website and as of now there is only one username in the database that can be referenced. My query will return the profile with the username "callmeoddie" no ...
Albert Junior Medders's user avatar
0 votes
1 answer
65 views

Vanity: one experiment per user

I just installed Vanity with redis. I've added multiple experiments on one page. But when a user is visiting the page, he is seeing all the experiments. How can I make sure that a user will only see ...
Rémon's user avatar
  • 33
0 votes
1 answer
104 views

How to display the Vanity Dashboard in another server?

I am using Vanity in Server A. But for the dashboard, I want to display it on Server B. Steps Done: Added gem 'vanity' in the Gemfile Added vanity.yml (used same database as Server A) Added vanity ...
Catherine's user avatar
0 votes
1 answer
1k views

Creating dynamic URL's with PHP

) I am creating a dynamic event creation application and I have run into a problem when creating dynamic webpages for events. My .htaccess looks like RewriteEngine on RewriteCond %{...
WKoppel's user avatar
  • 504
0 votes
1 answer
108 views

Can I use oracle_enhanced adapter in vanity gem for AB Testing?

For my production database, I am using oracle_enhanced adapter. Is this supported by vanity gem? From https://github.com/assaf/vanity, it says: "Vanity supports multiple SQL stores (like MySQL, ...
Catherine's user avatar
1 vote
1 answer
177 views

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 ...
toddmetheny's user avatar
  • 4,405
0 votes
1 answer
75 views

How do I get Vanity to connect to Elasticache instance

I am using the Vanity gem to do A/B testing and it works great locally. On our EC2 instances rails refuses to start when Vanity is enabled. I have been able to recreate the issue locally by ...
Toby's user avatar
  • 8,503
0 votes
1 answer
154 views

Vanity (gem) - can I create experiments programmatically via a database table?

I am using Vanity gem and have the basics of experiments & metrics set up fine. I was wondering if anyone has tried to extend it to set up experiments themselves via records in a database. It ...
Jason FB's user avatar
  • 4,812
0 votes
1 answer
375 views

How can I get the participants of a Vanity experiment?

tl:dr Is there anyway to get something like Vanity.experiment(:landing).participants_for_option(:a) returning a array of users? The long story I'm using the gem Vanity with a Rails 4.2 application ...
Pedro Bernardes's user avatar
0 votes
1 answer
98 views

Adding custom user ID to Vanity's "track!" method

There's a Vanity metric that is tracked by a cronjob, long after the user has left the website. How should I pass the user ID to the "track!" method to ensure that the conversion is handled properly?
João de Paula's user avatar
1 vote
2 answers
446 views

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 ...
Josh's user avatar
  • 95
0 votes
1 answer
175 views

How do I use an existing Redis connection in Vanity?

I have a Redis add-on in Heroku that only allows 10 connections. My app already uses Redis with $redis. I have Unicorn with 3 workers and 2 dynos, which is 6 connections. Vanity connects by itself ...
Chloe's user avatar
  • 25.2k
0 votes
1 answer
145 views

How do I generate a report with Vanity?

Whenever I try to generate a report with Vanity, it creates an empty HTML file >vanity report --output vanity.html Vanity: loading experiments from ... Vanity: loading metrics from ... New report ...
Chloe's user avatar
  • 25.2k
1 vote
1 answer
247 views

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 %%...
user3101003's user avatar
0 votes
2 answers
255 views

Vanity A/B testing with page caching

I'm using Vanity to do my A/B testing but I also have page caching for the pages the experiment is running on. Because of that, the user will actually see both options as they navigate around the ...
LennonR's user avatar
  • 1,433
0 votes
1 answer
126 views

Why doesn't vanity create vanity_experiments.rb and similar in app/models

I've create and run my vanity migrations and I can see the resulting tables in schema.rb and the rails console: ActiveRecord::Base.connection.tables => ["schema_migrations", "pages", "users", "...
steven_noble's user avatar
  • 4,153
0 votes
1 answer
76 views

Using Images as Vanity Alternatives

I am trying to use Vanity for rails. my ab_test /rag_price_options.rb file is: ab_test "Rag price options" do description "Different options for displaying the rag price" alternatives ...
jrich's user avatar
  • 75
0 votes
1 answer
145 views

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 ...
Emanuel's user avatar
  • 610
2 votes
1 answer
543 views

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::...
reillyse's user avatar
  • 370
0 votes
1 answer
329 views

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 ...
SteenhouwerD's user avatar
  • 1,819
7 votes
3 answers
1k views

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-...
Tim Sullivan's user avatar
  • 16.8k
1 vote
1 answer
210 views

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 ...
denniss's user avatar
  • 17.2k