mazondo/Punchy — pull request #5 by mars2686 (2012-01-02 08:23:00+00:00)
Title: Fixed a paginate bug that was giving a fatal error

When I first forked the application I would get the following error:

NoMethodError (undefined method `paginate' for []:Array):
app/controllers/punches_controller.rb:31:in `index'

I traced down the bug and it turned out to be a simple fix. You need to include the paginate dependency so that it can work on an Array.

Hope this helps out. Punch is a neat app.