Commit 23048275 authored by Raphael Sofaer's avatar Raphael Sofaer

Only save the connected person if it has changed

parent fc9d9a4c
......@@ -40,7 +40,7 @@ class User < ActiveRecord::Base
before_destroy :disconnect_everyone, :remove_person
before_save do if person if person && person.changed?
attr_accessible :getting_started, :password, :password_confirmation, :language, :disable_mail
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment