Write some models to store the users and the posts. Then write some controllers to create, read, update and delete the users and the posts. That is the Rails way.
Write some models to store the users and the posts. Then write some controllers to create, read, update and delete the users and the posts. That is the Rails way.