hi, guys, can the save method be used to update a record?
person = Person.new
person.save # rails will insert the new record into the database.
however, if i find a record first, modify it and save it. is it the same as performing a update?
person = Person.find(:first, :condition => "id = 1")
person.name = "my_new_name"
person.save # is this save performing a update or insert?
Thanks in advance!