mod/core/set/all/trash.rb in card-1.96.7 vs mod/core/set/all/trash.rb in card-1.96.8
- old
+ new
@@ -48,16 +48,16 @@
end
end
def delete args={}
add_to_trash args do |delete_args|
- update_attributes delete_args
+ update delete_args
end
end
def delete! args={}
add_to_trash args do |delete_args|
- update_attributes! delete_args
+ update! delete_args
end
end
def add_to_trash args
return if new_card?