0
I가 내가 레일 4로 업그레이드 할 때되지 않는 경고 4
class User
has_many :relationships
has_many :friends, :through => :relationships, -> select: 'friends.*, relationships.weight', order: 'weight DESC'
, 나는 다음과 같은 경고를 가지고 다음과 같은 관계 :
DEPRECATION WARNING: The following options in your Service.has_many :friends declaration are deprecated: :order,:select.
나는이 문제를 해결하는 방법? 일반적으로 Rails 4에 대한 진행중인 작업 참조가 있습니까?