Comments (6)
Have you tried adding Vanity.playground.collecting = true to your config/environments/development.rb file? I had this issue too, til I found out that by default Vanity only collects data in production.
from vanity.
I did, this was also tested in a production env. The problem was not actually with collecting data but that the metric was directly querying the Model using Active Record and the way it handled the data for that specific type of query. I have a fix for it, I just need to clean up the branch and submit a pull request. I will try to aim to do that tonight.
from vanity.
I'm having the same problem. How did you go about fixing the query?
from vanity.
Hey, here is the commit that fixes it. I've been meaning to clean it up and write a test before I did a pull request.
You only need to change what is in lib/vanity/metric/active_record.rb. You'll need to fork and point your gem file to your fork e.g.
gem "vanity", git: "git://github.com/mattsmith/vanity.git", branch: "active-record-fix" # Metrics & A/B
Let me know if that works for you.
from vanity.
Thanks!
On Mon, Dec 5, 2011 at 5:27 PM, Matt Smith <
[email protected]
wrote:
Hey, here is the commit that fixes it. I've been meaning to clean it up
and write a test before I did a pull request.You only need to change what is in lib/vanity/metric/active_record.rb.
You'll need to fork and point your gem file to your fork e.g.gem "vanity", git: "git://github.com/mattsmith/vanity.git", branch:
"active-record-fix" # Metrics & A/BLet me know if that works for you.
Reply to this email directly or view it on GitHub:
#80 (comment)
Scott Carleton
Artsicle, Founder / CTO
[email protected] // www.artsicle.com
C. 914 400 5085
www.twitter.com/artsicle
www.scottcarleton.com
from vanity.
This should be fixed in master now, thank you for reporting it and feel free to reopen if you are still having this issue in master.
from vanity.
Related Issues (20)
- Vanity metrics generating a row for each call to track HOT 2
- Finish a/b test HOT 9
- Connection issues can go unnoticed with rails
- Getting an error from vanity when trying to update redis HOT 3
- Rails 5 Support HOT 4
- vanity.yml on CI HOT 3
- Redis gem version 4+ ==> Error when Vanity tries to call redis.client.disconnect! HOT 4
- failing to deploy to heroku HOT 3
- Progressive tests HOT 1
- Disable logs HOT 2
- use_vanity not working? HOT 2
- Vanity generator not found HOT 1
- Be able to configure default callbacks
- Update Jekyll and documentation generation
- Add rubocop HOT 4
- Be able to disable vanity for test. HOT 1
- "Preload" multiple experiment status/participation for a page
- Thoughts on improvements to the Vanity developer interface
- Appraisals don't actually test on Rails 6
- Collaborate on experimentation library concepts HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vanity.