aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikel Lindsaar <raasdnil@gmail.com>2009-12-27 18:39:37 +1100
committerMikel Lindsaar <raasdnil@gmail.com>2009-12-27 18:39:37 +1100
commitd9aadb5b2d79f3f647d5fddd1dae0910d7b83444 (patch)
treed8dcdb7eff61429248904b18ed4c7cf1cb63d918
parent4e1fa4912d2777cba980b4a936a89bd63d201614 (diff)
downloadrails-d9aadb5b2d79f3f647d5fddd1dae0910d7b83444.tar.gz
rails-d9aadb5b2d79f3f647d5fddd1dae0910d7b83444.tar.bz2
rails-d9aadb5b2d79f3f647d5fddd1dae0910d7b83444.zip
Updating readme
-rw-r--r--actionmailer/CHANGELOG5
1 files changed, 4 insertions, 1 deletions
diff --git a/actionmailer/CHANGELOG b/actionmailer/CHANGELOG
index 9b07686b64..5b0d036bc5 100644
--- a/actionmailer/CHANGELOG
+++ b/actionmailer/CHANGELOG
@@ -4,7 +4,10 @@
subject.encoded etc
* Every part of a Mail object returns an object, never a string. So Mail.body returns a Mail::Body
- class object, need to call #encoded or #decoded to get the string you want
+ class object, need to call #encoded or #decoded to get the string you want.
+
+* By default, a field will return the #decoded value when you send it :to_s and any object that
+ is a container (like header, body etc) will return #encoded value when you send it :to_s
* Mail::Message#set_content_type does not exist, it is simply Mail::Message#content_type