Gah! Rails.env.development? is a much better choice.