Forum: Ruby Paginate

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C78c7db69c9e20fdcdbc35c9c986f23f?d=identicon&s=25 Samatha Jupally (samatha)
on 2008-12-22 07:21
Hi am facing a problem in my programme
the error is "undefined method `paginate' for
#<ManageController:0x4b4252c>"
how to solve this

Thanx and Regards
Samatha
D15a45a973443d4562051eb675b60474?d=identicon&s=25 Tom Cloyd (Guest)
on 2008-12-22 07:59
(Received via mailing list)
Samatha Jupally wrote:
> Hi am facing a problem in my programme
> the error is "undefined method `paginate' for
> #<ManageController:0x4b4252c>"
> how to solve this
>
> Thanx and Regards
> Samatha
>
Samatha,

Errors occur in a context. You provide none, so it's very difficult to
know what's happening. So...can you provide a context so people can have
some idea what might be happening? What's your OS, your version of Ruby,
your code, etc.???

t.

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< tc@tomcloyd.com >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Be07c8d0d6867fd9a0d525f7d17600e2?d=identicon&s=25 Damjan Rems (ther)
on 2008-12-22 08:08
Samatha Jupally wrote:
> Hi am facing a problem in my programme
> the error is "undefined method `paginate' for
> #<ManageController:0x4b4252c>"
> how to solve this
>
> Thanx and Regards
> Samatha

1. This should probably be posted in Ruby on Rails NG.

2. Paginate is no longer part of Rails (as of 2.0 i think). I beleive
there is Paginate plugin somewhere but I suggest using will_paginate for
Rails pagination .


by
TheR
C78c7db69c9e20fdcdbc35c9c986f23f?d=identicon&s=25 Samatha Jupally (samatha)
on 2008-12-22 08:38
Damjan Rems wrote:
> Samatha Jupally wrote:
>> Hi am facing a problem in my programme
>> the error is "undefined method `paginate' for
>> #<ManageController:0x4b4252c>"
>> how to solve this
>>
>> Thanx and Regards
>> Samatha
>
> 1. This should probably be posted in Ruby on Rails NG.
>
> 2. Paginate is no longer part of Rails (as of 2.0 i think). I beleive
> there is Paginate plugin somewhere but I suggest using will_paginate for
> Rails pagination .
>
>
> by
> TheR


Hi, i have tried will_paginate, even it's giving the same error.
am very much new to ROR, so i have no idea what all need to be provided
along with the eror...... is there any other way to fix this problem?
Be07c8d0d6867fd9a0d525f7d17600e2?d=identicon&s=25 Damjan Rems (ther)
on 2008-12-22 13:18
Samatha Jupally wrote:

>> 1. This should probably be posted in Ruby on Rails NG.
>>
>> 2. Paginate is no longer part of Rails (as of 2.0 i think). I beleive
>> there is Paginate plugin somewhere but I suggest using will_paginate for
>> Rails pagination .
>>
>>
>> by
>> TheR
>
>
> Hi, i have tried will_paginate, even it's giving the same error.
> am very much new to ROR, so i have no idea what all need to be provided
> along with the eror...... is there any other way to fix this problem?

Will_paginate has different syntax than original ROR paginate. So you
will have to update your source files. Look for examples on web. I don't
have any at my fingers at the moment.

by
TheR
This topic is locked and can not be replied to.