From: Frederick Cheung <frederick.che...@gmail.com>
Date: Tue, 24 Aug 2010 01:01:57 -0700 (PDT)
Local: Tues, Aug 24 2010 4:01 am
Subject: Re: will_paginate
On Aug 24, 8:36 am, Jeff Chen <jeffchen1...@gmail.com> wrote:
> Dear Madam/ Sir,
Don't do that - use config.gem to load gems (in 2,x that is - look at
> This is my first post, and I am stuck it for many months.
> I have below error msg:
> NoMethodError (undefined method `paginate' for #<Class:0x640ccc4>):
> Here is my code:
> def list
> #@images = Image.paginate :page => params[:page], :per_page => 5
> end
> I did add require 'will_paginate' after the end of environment.rb,
bundler if you are using rails 3) Fred
> Thanks and Best Regards,
> Jeff You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||