a simple example to learn rails