noosfero | WIP: Rails 5.1.6 Upgrade (!1438)

Gabriel Silva gitlab at mg.gitlab.com
Wed Oct 31 13:07:39 BRST 2018


Gabriel Silva started a new discussion on app/models/categorization.rb:

>    end
>  
>    def remove_all_for(object)
> -    self.delete_all(object_id_column => object.id)
> +    self.delete_all

Isn't this going to delete all categorizations? Shouldn't you filter it first?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1438#note_113533063
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20181031/12bba8ce/attachment-0001.html>


More information about the Noosfero-dev mailing list