I’m using the Rails gem, and would like some best practices guidance.
First: Separating multiple versions of the same env (IE multi-dev environment)
Am I right in thinking, that the best practice for multiple development and staging environments is to somehow set something like
as a prefix to the environment?
Second: The bigger question I have revolves more around testing.
Since search is going to potentially be the most important part of our application, the features around it cannot go untested.
I was wondering what kind of best practices you would suggest on how to approach this - should I record and stub every request? I think that might blow up in size quite a lot. But can’t think of any other reasonable approaches.
Looking forward to hearing your thoughts