Production BracketDb bracket tree has old keys
Closed this issue · 1 comments
If I run window.BracketDb.BRACKETS[30].bracket_tree[0]
on production and in development I get different results. Namely on production I still have a key called label
while in development it has been renamed to uid
. Production should have uid
.
I shipped code that adds an ||
(or) temporarily to allow both variables to mitigate the issue. Note that this proves my assets are getting recompiled properly each deploy but something else is wrong. I suspect heroku has cached the bracketDb gem some and I can't break it. I tried to fix this by adding a version gem file statement.
An idea I just had was to version the path of the gem. Maybe that will break heroku's cache. Or maybe the issue is something else I am missing.
I removed the gem include and add an initializer to load bracket_db.