noosfero | WIP: Rails 5.1.6 Upgrade (!1438)

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


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

>      memberships.where('role_assignments.role_id = ?', role.id)
>    end
>  
> -  has_many :comments, :foreign_key => :author_id
> -  has_many :article_followers, :dependent => :destroy
> -  has_many :following_articles, :class_name => 'Article', :through => :article_followers, :source => :article
> -  has_many :friendships, :dependent => :destroy
> -  has_many :friends, :class_name => 'Person', :through => :friendships
> +  has_many :comments, foreign_key:  :author_id

there are some extra spaces on these lines

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


More information about the Noosfero-dev mailing list