The :modified_strategy is just a symbol that tells the helper which method
to call on your object to get the name/value of the textarea.
If you want to manually change the value of the textarea, you can overwrite
the value attribute:
f.text_area(:modify_strategy , :value => f.object.modify_strategy.gsub(";",
"\n"), :cols => 80)
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/GmpNEk0o4T4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.