What have you found for these years?

2008-12-30

ActiveRecord 2.2.2 Bug 又一

>> p = Cache::CommentsCount.for_public.rank_comments; 1
=> 1
>> p.size
=> 325
>> p.length
=> 50
>> p.size
=> 50

其實 rails bug 也不少... 之前修過幾個,後來就懶了。
這次也懶得追究了 zzz. 反正不要一開始就呼叫 size 就沒事...

==
其實我不大理解覺得 rails 沒啥問題是怎麼回事...

0 retries:

Post a Comment

Note: Only a member of this blog may post a comment.



All texts are licensed under CC Attribution 3.0