Ruby and Controller