I wonder, should I create models or migrations first in Rails?
I've been following BDD, testing first, then actual code. That has given me an insight of going from TOP to BOTTOM.
I have heard some people say: first models and their associations, then migrations to create the database for them. Migrations/tables adapt to models, not the other way around.
So does this mean it's smart to go for the TOP-DOWN approach here too, models (associations, validations) first, then migrations?