• M
    Remove method redefined warnings for test suite · bf556880
    Matthias Zirnstein 提交于
    has_many definitions with "name" as singular and as plural e.g.
      has_many :welcome_posts_with_comment
      has_many :welcome_posts_with_comments
    
    Ruby mentions it with:
    
    lib/active_record/associations/builder/collection_association.rb:65:
      warning: method redefined; discarding old welcome_posts_with_comment_ids
    lib/active_record/associations/builder/collection_association.rb:65:
      warning: previous definition of welcome_posts_with_comment_ids was here
    lib/active_record/associations/builder/collection_association.rb:75:
      warning: method redefined; discarding old welcome_posts_with_comment_ids=
    lib/active_record/associations/builder/collection_association.rb:75:
      warning: previous definition of welcome_posts_with_comment_ids= was here
    bf556880
author.rb 9.6 KB