app/models/skydrive/user.rb in lti_skydrive-1.0.0 vs app/models/skydrive/user.rb in lti_skydrive-1.0.2

- old
+ new

@@ -4,10 +4,10 @@ has_many :api_keys has_one :token belongs_to :account - validates :username, presence: true, uniqueness: true + validates :username, presence: true validates :name, presence: true def session_api_key(params={}) ApiKey.create( user_id: self.id,