API `per_page` error

Created by: yangchenyun

/v2/projects/huali/repository/commits?private_token=....&per_page=30 will cause error:

Started GET "/api/v2/projects/huali/repository/commits?private_token=....&per_page=30" for 127.0.0.1 at 2012-12-18 21:59:57 +0800

TypeError (String can't be coerced into Fixnum):
  lib/api/projects.rb:257:in `*'
  lib/api/projects.rb:257:in `block (2 levels) in <class:Projects>'

Might be something related with per_page params parsing error?