New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get Action Mailer guide ready for prime time #10103
Get Action Mailer guide ready for prime time #10103
Conversation
|
@fxn @steveklabnik thoughts? |
Yeah, that's the WIP tag. :) |
|
@steveklabnik hehe Do you remember a reason to keep the WIP tag on the AM guide? It feels quite complete to me. |
|
A few more thoughts: Since this is the debut of this file, it'd be nice to wrap it all to 80 chars. Since it's not public yet, the history isn't as important. A blank line here would be awesome: Right now, markdown is interpreting the last one as a section heading because of this. I can't comment on your diff since this line isn't part of it. ;)
This is... sorta tiny. I'm not sure how to expand it, but to start the guide off with what's basically "Here's some terminal output. Yep." isn't super great.
This section doesn't explain why methods in mailers are important. It basically just describes the process of making one, without any of the background info on why you're doing any of this.
I'd prefer to make this statement stronger, as some people only accept
This heading is terrible.
Observers were removed.
I'd really like to see this whole part get a bit more... forceful. Rather than saying "well, some people do this, others do this...." let's cut the hippie bullshit and say "Send emails in the controller, but you should really be using Resque." ;)
Same here, observers suck, and if they suck, why do we mention them?
Guides should always be written as though they're in the present tense. Throw the past down the memory-hole.
Ruby 2 does this by default, I'd like to add a caveat for 1.9 rather than present 'if' as the norm. "Strongly recommend 2.0" and all that.
If we're going to suggest custom headers, X-* has been deprecated, so we shouldn't encourage that pattern.
Same deal. 3.0? Who cares?
http://www.youtube.com/watch?v=wBo3-XnhXNM
Same deal here.
Wait, what's Mail?
should drop the []s.
This sentence is really awkward.
This shouldn't be at the end, it should be at the beginning. Why tell people to add
See George Carlin above
Should be
Gmail.
Best to use That's all I got for now. Let's whip this guide into shape. :) |
|
@steveklabnik thanks for all that good stuff! I'll update the PR later today. |
|
@steveklabnik @fxn can you take another look? I adjusted most things pointed out by @steveklabnik, there were a few I left out because I didn't have a good Idea how to fix them:
|
|
For the second, basically just "Let's also make a text part for this email. Not all clients prefer HTML emails, and so sending both is best practice." rather than "maaaaaybe you should do that too" |
|
How about this for the first one:
|
|
@steveklabnik thanks for your inputs, it's much appreciated |
|
Looks great. Just squash it up and I'm good to merge. @fxn any objections? |
|
@steveklabnik squashed up. |
|
Hey guys! I'll have a look at it after dinner. |
|
Good job! It needs some copy-editing here and there, "Mailer" goes in lowercase like "controller", "HTTP" and "Email protocol" do not match, and a bunch of other similar details. I'll make a pass but let's merge! |
|
…r_prime_time Get Action Mailer guide ready for prime time [ci skip]
I noticed that the Action Mailer guide still has a WIP tag. I find the information provided in the guide very useful and also complete. As it is hidden in the navigation it is very easily overlooked. As I find the guide very useful I think we should no longer hold it back.
I did some minor edits:
userwith@userif@useris availableI also removed the WIP flag in
documents.yml