class Hashie::Dash
def update_attributes!(attributes)
def update_attributes!(attributes) update_attributes(attributes) self.class.defaults.each_pair do |prop, value| next unless self[prop].nil? self[prop] = begin value.dup rescue TypeError value end end assert_required_attributes_set! end