I'm guessing that you left off ':all' in your code.
try this:
@sites = Site.paginate( :all, :per_page => 10, :page => params[:page] )
Good luck!
Cheers, Robby
I'm guessing that you left off ':all' in your code.
try this:
@sites = Site.paginate( :all, :per_page => 10, :page => params[:page] )
Good luck!
Cheers, Robby
That makes no difference