I am just doing a quick scaffold on rails, and I’m going to have a field that’s only 140 characters or less, is that a string or text?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That would be a
string.A good rule of thumb would be to use
stringfor anything up to 255 characters. Beyond that, use atext