Skip to content
Menu
Justin Ball
  • About
  • Privacy Policy
Justin Ball

Month: June 2009

Implicit multipart emails using Ruby on Rails and ActionMailer won’t work

Posted on June 26, 2009November 1, 2021

I’ve been beating my head against the wall trying to figure out why html emails from my Rails Engine are sent out as plain text ie the email shows up with all the html tags visible. Turns out there is an issue in Rails 2.3.2: https://rails.lighthouseapp.com/projects/8994/tickets/2263-rails-232-breaks-implicit-multipart-actionmailer-tests. For now I’m just setting my emails to html,…

Sending email with Ruby on Rails 2.3.2 and gmail

Posted on June 25, 2009November 1, 2021

If you need an easy way to setup email for your company or for a client it’s hard to not love Google Apps. (The ‘standard’ ie free version is here). It is very likely that at some point you will need to send out emails from your application. Don’t cry. Gmail can do this for…

jeweler and the empty gemspec

Posted on June 24, 2009November 1, 2021

I’ve been racking my brain trying to figure out why my gemspec for a new gem had no files in it. I’m using jeweler to build the gem and it’s worked great in the past. Then I read in the docs that jeweler will include any files in the gemspec that are not in .gitignore…

New Uploader Gem

Posted on June 20, 2009November 1, 2021

I just pushed out a new uploader gem. Get the new code from github or install the gem with sudo gem install uploader. This comes with a few more translations and a fix for a nasty bug. The format was not properly set for uploads via swfupload. Unfortunately, even without the format it worked on…

Testing Rails Engine Gems

Posted on June 16, 2009October 25, 2021

I’ve been working on a number of gems that are basically packaged Ruby on Rails engine plugins. It turns out that turning gems into plugins is pretty easy to do. However, testing them can be a pain. Here are a few things I came up with. After looking at how Clearance handles tests I’ve decided…

A copy of ApplicationController has been removed from the module tree but is still active! And can’t dup NilClass

Posted on June 13, 2009November 1, 2021

If you’ve been working on Rails 2.3 engines (the new stuff that comes with Rails 2.3 not the old engine plugin) and you start running into either of these errors: A copy of ApplicationController has been removed from the module tree but is still active! Or can’t dup NilClass Don’t go find a new job…

Disguise your Rails Application

Posted on June 12, 2009November 1, 2021

I spent quite a while trying to figure out how to theme my Ruby on Rails applications. Turns out after you build a piece of software people want to use it to do other stuff. Go figure. I really like how simple it is to skin a WordPress site so I stole borrowed some ideas….

Stupid WTF! ActionView::MissingTemplate Exception: Missing template users/_user.erb

Posted on June 5, 2009November 1, 2021

If you’ve spent much time working with Ruby on Rails and more especially if you’ve done anything with json you might have run across errors like this: ActionView::MissingTemplate Exception: Missing template users/_user.erb </pre> I was having this problem and doing a lot of cursing which is common when I stay up and write code until…

©2025 Justin Ball | Powered by SuperbThemes & WordPress