Note that this was written with Phoenix v0.8 and Ecto 0.2 [0]; Phoenix is currently in 0.13 and Ecto in 0.11.<p>[0] <a href="http://phoenix.thefirehoseproject.com/3.html" rel="nofollow">http://phoenix.thefirehoseproject.com/3.html</a>