trabe-mswl/blog — pull request #2 by punkto (2012-06-25 20:29:28+00:00)
Title: Add the post author.

The following constrains hava been fulfilled:
- Generate an author model. Author only has one attribute: name
- Migrate the database accordingly. Ensure all posts have an author
- Add relations between the author and the posts
- Show “by ” in the post views
- Use eager loading to avoid the n+1 query problem when fetching the authors
- Change the new/edit post form to include the author field. Use a HTML select component.

Signed-off-by: Jorge Munhoz Castanher