A little string formatting tip and how we handle dynamic email subjects
If you are used to format string via % operator you should be careful with dynamic content evaluation. Here is how I handle special cases when using dynamic e-mail subjects.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
If you are used to format string via % operator you should be careful with dynamic content evaluation. Here is how I handle special cases when using dynamic e-mail subjects.
Post a comment