Saturday, August 13, 2016

What is the difference between string and text types in rails migration?

The :string type is used for short text input such as text fields, drop downs, select boxes etc. The :text is used for long text such as text area.

No comments:

Post a Comment