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 Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
