#208 ✓invalid
Andrew Shika

protected method `url_for' called for #<WillPaginate::LinkRenderer:0x184df1d>

Reported by Andrew Shika | April 13th, 2008 @ 05:31 PM

Greetings,

I am really desperate to get the paging working with this purportedly great rails paging plugin in. Here are my snippets:

Controller:

@events = Event.paginate(:all, :page => params[:page])

Model:

cattr_reader :per_page

@@per_page = 2

View:

<%= will_paginate @events %>

Error:

NoMethodError in Events#index

Showing smart_events/index.html.erb where line # raised:

protected method `url_for' called for #

Please advise

Drew

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Pages