class Hashie::Dash

def update_attributes!(attributes)

def update_attributes!(attributes)
  initialize_attributes(attributes)
  self.class.defaults.each_pair do |prop, value|
    self[prop] = begin
      value.dup
    rescue TypeError
      value
    end if self[prop].nil?
  end
  assert_required_attributes_set!
end