Fixed new role issue.
refactor role form
Update rails to 4.1.0