On Sep 22, 7:24 pm, MR Damien <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to use the will_paginate helper. > > I installed the gem and put "require 'will_paginate'" in the > environment.rb file. > > In my controller > > @tasks = Task.paginate :page => params[:page], :order => 'date_begin > DESC' > > In my view > > <%= will_paginate @tasks %> > > The view doesn't show anything. Did I miss something ? (the @tasks > variable is not empty)
How many records does @tasks contain? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---