I'm using fixtures to hold all the test data that I have.
Each row in my DB has the same ID across several rake db:fixtures:load
s.
That is nice, because I can create folders in the project, like "people/12345" to hold additional data (files) for the models.
I'm interested to know, how are these generated IDs kept constant at every fixtures:load
?
I suppose that rails passes the fixture label to the hash function in order to obtain the ID, instead of storing it somewhere.