class ActiveSupport::CurrentAttributes
def assign_attributes(new_attributes)
def assign_attributes(new_attributes) new_attributes.each { |key, value| public_send("#{key}=", value) } end
def assign_attributes(new_attributes) new_attributes.each { |key, value| public_send("#{key}=", value) } end