Remove unused defined association

`belongs_to :developer` on `Comment` model was added in 431f8e0 but it
is unused.
This commit is contained in:
Ryuta Kamizono 2017-06-11 21:59:36 +09:00
parent f81f840c02
commit c073240f70
2 changed files with 1 additions and 2 deletions

@ -143,7 +143,7 @@ class MergingDifferentRelationsTest < ActiveRecord::TestCase
assert_equal ["Mary", "Mary", "Mary", "David"], posts_by_author_name
end
test "relation merging (using a proc argument)" do
test "relation merging (using a proc argument)" do
dev = Developer.where(name: "Jamis").first
comment_1 = dev.comments.create!(body: "I'm Jamis", post: Post.first)

@ -9,7 +9,6 @@ class Comment < ActiveRecord::Base
belongs_to :post, counter_cache: true
belongs_to :author, polymorphic: true
belongs_to :resource, polymorphic: true
belongs_to :developer
has_many :ratings