noosfero | WIP: Rails 5.1.6 Upgrade (!1438)

Álax Alves gitlab at mg.gitlab.com
Thu May 24 11:07:29 BRT 2018


Álax Alves commented on a discussion on lib/extensions/active_record/calculations.rb:

>        count_without_distinct
>      end
>    end
> -  alias_method_chain :count, :distinct

Not in this case because the behaviour used/wanted by Noosfero is only counting with distinction, and there is no definition for counting without distintion, so the analogue alias using `alias_method` was not necessary,and using it causes the application to break.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1438#note_74827938
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/20180524/7dd7f8e6/attachment.html>


More information about the Noosfero-dev mailing list