On 17 Mar., 07:02, Sudhi Kulkarni <[email protected]>
wrote:
> Hi Ram,
>
> Thanks for the help... this works but I have another question now what
> if I need to append into the text area instead of replacing the content?
def add_text_link(name)
link_to_function name do |page|
page[:text_area] << "This is new line"
end
end
--
Cheers,
David Knorr
http://twitter.com/rubyguy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
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
-~----------~----~----~----~------~----~------~--~---