Received: by 10.224.78.205 with SMTP id m13mr11206505qak.4.1318825710723; Sun, 16 Oct 2011 21:28:30 -0700 (PDT) X-BeenThere: will_paginate@googlegroups.com Received: by 10.224.199.7 with SMTP id eq7ls10314074qab.3.gmail; Sun, 16 Oct 2011 21:28:30 -0700 (PDT) Received: by 10.224.192.10 with SMTP id do10mr4060138qab.6.1318825710273; Sun, 16 Oct 2011 21:28:30 -0700 (PDT) Received: by 10.224.32.102 with SMTP id b38msqad; Sun, 16 Oct 2011 21:21:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.179.2 with SMTP id bo2mr1329332vcb.37.1318825298581; Sun, 16 Oct 2011 21:21:38 -0700 (PDT) Received: by c1g2000vbw.googlegroups.com with HTTP; Sun, 16 Oct 2011 21:21:38 -0700 (PDT) Date: Sun, 16 Oct 2011 21:21:38 -0700 (PDT) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1,gzip(gfe) Message-ID: <0c9a71c6-406b-4d15-9922-8f3237913f19@c1g2000vbw.googlegroups.com> Subject: blank result From: hopewise To: will_paginate Content-Type: text/plain; charset=ISO-8859-1 I have installed the last version of will_paginate, and I am trying to use it at my view but I have a blank ( nothing renders ) at view, here is the code at view: <%= will_paginate @courses, :param_name => :page %> in the controller of course: @courses = Course.paginate(:page => params[:page]) I tried to debug @courses in the controller using RubyMine, and here is what I get: at line: @courses = Course.all it shows five records, and here is what I get: after line: @courses = Course.paginate(:page => params[:page])