Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating readme

  • Loading branch information...
commit d9aadb5b2d79f3f647d5fddd1dae0910d7b83444 1 parent 4e1fa49
@mikel mikel authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 actionmailer/CHANGELOG
View
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.