Taxon.class_eval do attachment_definitions[:icon][:styles] = {:normal => '200x150>'} attachment_definitions[:icon][:default_url] = "/images/noimage/taxon.png" end