0
嗨,我使用Rails3中,當我把用戶的陣列這樣意外行爲
@subscribers = User.all
,並提出it.gives我這個陣列
[#<User id: 62, is_activated: true, subscriber: "TEST_DB2", ports_order: 100, created_at: "2012-05-21 14:47:48">, #<User id: 66, is_activated: true, subscriber: "JOHI", ports_order: 100, created_at: "2012-05-22 12:06:19">, #<User id: 68, is_activated: true, subscriber: "ALI-NAQWI", ports_order: 100, created_at: "2012-05-24 11:01:22">]
當我給命令 @ subscribers.count #it給我0計數
爲什麼?????????