as you lay on your deathbed, will you care about someone else's judgement of you
If I’m being completely honest, I probably care about what others think too much. In fact that ‘probably’ should be a ‘definitely’. I’m even thinking about how this post will go over as I’m typing it.
Is that really any way to live?
The sad reality is that I’ve been taught to think this way. From a young age we’re taught to worry about what the teacher thinks, what our parents think, especially what our peers think, about us: what we’re doing, what we’re saying, what choices we make.
It’s not easy to shake. There are often many times when you should care what someone else’s opinion of you and your actions might be. But, if the first thought that crosses your mind is what others will think vs what you and maybe even the future you would say, I think you’ve got it backwards.
Apologies for the slightly poor sentence structure and rambling thought, but it’s good enough for me.
Abort sending an email in ActionMailer, Rails 3
Recently I’ve seen some issues popping up in production. Emails aren’t being sent, raising this damn error :
ArgumentError: A sender (Return-Path, Sender or From) required to send a message
After banging my head against the wall for a while, I realized some old code I had put in place to handle this was either out of date, or never correct to begin with. I saw someone have this issue on Stack Overflow recently and dropped the solution there: http://stackoverflow.com/questions/4452149/rails-3-abandon-sending-mail-within-actionmailer-action
Trick is just to do a self.message.perform_deliveries = false inside the mailer method you want to stop.
This is current for Rails 3.2.3
Migrating to Obtvse
After fiddling around with my Jekyll blog a bit earlier, and finding image and css paths not working locally, I decided to check out Obtvse.
I really just want something easy to use, looks clean, and basically stays out of my hair. So far this is all of that and more.
If you’re reading this then welcome to yet another incantation of my blog. I have a feeling this one might stick for a while.