Rails 4.0 Example app SOLVED use case 1

Hi All,
See https://github.com/ozpos/urps2 - still struggling with use case 2.