change long to string as rails doesnt support long