How to limit the number of characters in a text field in Rails
TL; DR: Set the maxlength attribute to the desired number
Problem
How to limit the number of characters in a text field in Rails.
Explanation
The goal is to limit the number of characters a user can enter in an input text field in a Ruby on Rails f...
blog.alexandrecalaca.com2 min read