noosfero | WIP: Rails 5.1.6 Upgrade (!1438)

Gabriel Silva gitlab at mg.gitlab.com
Thu May 24 10:04:51 BRT 2018


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

> +  has_many :articles, through:  :article_categorizations
> +  has_many :comments, through:  :articles
>  
> -  has_many :events, :through => :article_categorizations, :class_name => 'Event', :source => :article
> +  has_many :events, through:  :article_categorizations, class_name:  'Event', source:  :article
>  
>    has_many :profile_categorizations
> -  has_many :profiles, :through => :profile_categorizations, :source => :profile
> -  has_many :enterprises, :through => :profile_categorizations, :source => :profile, :class_name => 'Enterprise'
> -  has_many :people, :through => :profile_categorizations, :source => :profile, :class_name => 'Person'
> -  has_many :communities, :through => :profile_categorizations, :source => :profile, :class_name => 'Community'
> +  has_many :profiles, through:  :profile_categorizations, source:  :profile
> +  has_many :enterprises, through:  :profile_categorizations, source:  :profile, class_name:  'Enterprise'
> +  has_many :people, through:  :profile_categorizations, source:  :profile, class_name:  'Person'
> +  has_many :communities, through:  :profile_categorizations, source:  :profile, class_name:  'Community'
>  

Remove the double spaces in this file.

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


More information about the Noosfero-dev mailing list