This is probably obvious to most of you, but if you’re coming from a PHP background to Rails, you probably don’t know much about database structure (or think its something you can make up on the fly).
With Rails, its extremely important to plan out your database structure before you start coding. But the good thing about Rails is its language is simple to understand. has_one, belongs_to and such.
Taking time to think about your data models will save you tons of time down the road.
