Hi, I saw
db/development_structure.sql on https://github.com/thoughtbot/guides/tree/master/best-practices
I am wondering when the project is growing big, how do you test / develop your features? (sometimes develop new feature needs real data, and need to open browser to test it)
My solutions is
Write rake to generate fake data, keep close with current status, but it only works when the project is still beta or still small.
When the project is medinum size. We dump real data to staging server, or connect to slave db server to development feature.
I can’t find a gracefully to handle big database these years. It’s painful to us. Currently I have a big db with 4M records, it almost seems torture to my team. We end up dumping our data to a closet RDS and connect it to develop website. Because our laptop can’t afford running such big database. And my next client’s project probably is 20M
Wondering is there a “best practices” or better way to those things?