Skip to content

Commit 02105d6

Browse files
committed
Maintenance: Clean up accidental usage of Rails' ActiveSupport
1 parent 855a108 commit 02105d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/zammad_api/resources/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def new_record?
3838
end
3939

4040
def changed?
41-
@changes.present?
41+
!@changes.to_h.empty?
4242
end
4343

4444
def destroy

0 commit comments

Comments
 (0)