dojo assignment for rails controllers