rails skeleton, migration, and model