Appearance
The textarea field renders a <textarea /> element.
textarea
<textarea />
field :body, as: :textarea
-> rows
Set the number of rows visible in the Edit and New views.
Edit
New
field :body, as: :textarea, rows: 5
5
Any integer.