Daily log - April 22, 2009

by Sean Cribbs

And now… “How Not to be Seen” It seems although Firefox happily allows you to hide <option> tags (with style="display:none"), Safari (and WebKit) won’t hide them. Anyone know why? Am I doing something wrong? I could use <optgroup> tags in a pinch, but I’m not certain they’d help.

Is that a valid statement? Using ActiveRecord::Errors (from validations) on a non-AR class is pretty easy, one only has to implement self.human_attribute_name, which I did fairly naively thus:

  def self.human_attribute_name(name)

© 2006-present Sean CribbsGithub PagesTufte CSS