nelsonchavespro said over 2 years ago on Limiting Text Input :
  David Kimura I tried both ways integer or string. I noticed that too when i translated erb to haml. still doesn't work