noosfero | WIP: Rails 5.1.6 Upgrade (!1438)

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


Álax Alves commented on a discussion on config/initializers/active_record_belongs_to_required_by_default.rb:

> +# Require `belongs_to` associations by default. Previous versions had false.
> +# Se desejar tornar a relação `belongs_to` opcional, deverá adicionar na model a seguinte diretiva: `, optional: true`

I've fixed this in fb6b5e95

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


More information about the Noosfero-dev mailing list