0
같은이 문장 b.followees_by_type("biscuit")
반환 뭔가 :상점은, 각 블록의 결과는 루비
=> [#<Biscuit _id: 4fdf5aa11d41c829ea000020, _type: "Biscuit", created_at: 2012-06-18 16:43:13 UTC, title: "biscuit biscuit", is_complete: true>, #<Biscuit _id: 4fdf5aa11d41c829ea000021, _type: "Biscuit", created_at: 2012-06-18 17:40:10 UTC, title: "biscuit2 biscuit2", is_complete: true> ]
하나 개 이상의 비스킷을 반환 할 수 있습니다.
내가@biscuits
변수 인스턴스 (instance)의 내부에 추가 할
, 나는이 블록에서 각 루프에 들어갈 모든 비스킷 :
boards.each do |b|
b.followees_by_type("biscuit")
end
내가 그것을 어떻게 할 수 있습니까?
그래서 그것을 할. 무엇이 널 멈추게 해? –