search for: emailcontent

Displaying 2 results from an estimated 2 matches for "emailcontent".

Did you mean: mailcontent
2008 Nov 26
3
fckeditor_textarea
hi, i am currently using rails version 2.2.2. and using fckeditor_textarea. here is the code: <%= fckeditor_textarea(:emailcontent,:body, {:toolbarSet => ''Basic'', :width => ''100%'', :height => ''100%''}) %> where emailcontent is the model(object) name, and body is method. but it''s not working,however same code is working in any version below 2...
2008 Jun 18
3
Best Way of Extracting Key Value from File
.../lib/ruby/1.8/yaml.rb:133:in `load'' /app/controllers/messages_controller.rb:66:in `parseMessage''; So this is definitely a problem and I can''t use YAML. I tried regexps but I am new to them and I can only extract the entire line like so : result = /^From:.*$/.match(@emailcontent) # where @email content is the text of the email Regexp result matchdata object gets the entire From : "..." <> line including the from. I would like the value of "From:" (NOT including From: meaning I would like the email address that is after the colon). What do I use...