this is the exact code from a newly created rails 4 app