example of a two-model rails CRUD app