text_area(オブジェクト名, メソッド名, HTML属性={} or イベント属性={})
# f.object
f.text_area(メソッド名, HTML属性={} or イベント属性={})
text_area :page, :comtent
#=> <textarea cols="40" id="page_content" name="page[content]" rows="20"></textarea> #### 初期値あり
text_area :page, :comtent
#=> <textarea cols="40" id="page_content" name="page[content]" rows="20">初期値</textarea>
text_area :page, :comtent, size: "20x10"
#=> <textarea cols="20" id="page_content" name="page[content]" rows="10"></textarea>
text_area :page, :comtent, maxlength: "20"
#=> <textarea cols="20" id="page_content" name="page[content]" rows="10"></textarea>
text_area :page, :comtent, maxlength: "20"
#=> <textarea cols="40" disabled ="disabled" id="page_content" name="page[content]" rows="20"></textarea>
f.text_area :comtent
#=> <textarea cols="40" id="page_content" name="page[content]" rows="20"></textarea>