Paginating a find...

Paul Nichols wrote:

:per_page => 2, :conditions => ['run_id=?',]

Called id for nil, which would mistakenly be 4 -- if you really wanted
the id of nil, use object_id

That's the standard "whiny" error message you get when you call

id is a (deprecated) member of Object, and an important member of any ActiveRecord model. So one of your models is nil - probably @run.

Tip: better delimiters and linefeeds would have helped you spot the error faster:

    @fails_pages, @most_recent_fails =
            :per_page => 2,
            :conditions => ['run_id=?',])