I am trying to use the will_paginate helper.
I installed the gem and put “require ‘will_paginate’” in the
In my controller
@tasks = Task.paginate :page => params[:page], :order => ‘date_begin
In my view
<%= will_paginate @tasks %>
The view doesn’t show anything. Did I miss something ? (the @tasks
variable is not empty)