Rails: fix for root url error