# File lib/big_record/base.rb, line 332 def update(id, attributes) if id.is_a?(Array) idx = -1 id.collect { |a| idx += 1; update(a, attributes[idx]) } else object = find(id) object.update_attributes(attributes) object end end