나는 조상 보석을 사용하고 난 다음 코드를 가진 undefined method "arrange" for #<Array:0x007f8d58e58700>
오류가 점점 오전 : 난 그냥 출력 @shipmgr_carriers
내가 조상과 배열을 얻을 때, 그러나조상 보석 '정의되지 않은 메서드'오류
<%= @shipmgr_carriers.arrange(:order => :name) %>
을 :
[#<Shipmgr::Carrier id: 9, name: "testing", status: nil, created_at: "2012-01-16 22:44:28", updated_at: "2012-01-16 22:44:28", ancestry: nil>, #<Shipmgr::Carrier id: 10, name: "test", status: nil, created_at: "2012-01-16 22:44:28", updated_at: "2012-01-16 22:44:28", ancestry: "9">]
왜 내가 배열 변수에 .arrange 메서드를 호출 할 수 없는지 알 수 있습니까?