changed rails version 3