demo code for rails intro