Fixing Rails Compile Error