needs to be unless config.css_uri.blank? since you have it defaulting to '' in dice template. I think I would leave this and default to nil in dice template vs. changing this.