Skip to content

Commit 71dbd72

Browse files
committed
update_attributes -> update
1 parent a05deb4 commit 71dbd72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/users/user.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def update_without_password(params, *options)
277277
params.delete(:username)
278278
end
279279

280-
result = update_attributes(params, *options)
280+
result = update(params, *options)
281281
clean_up_passwords
282282
result
283283
end

0 commit comments

Comments
 (0)