Closed iamvery closed 9 years ago
I would actually go even further and update the README not to recommend putting this in an initializer (which, as you correctly point out, is problematic because it ends up being called from multiple places) and instead set up a rake task as described in the blog post and call this task a single time as part of your deployment process.
Does that make sense? We're still in the process of verifying this in our app.