[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Paginate

Samatha Jupally

12/22/2008 6:14:00 AM

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
--
Posted via http://www.ruby-....

11 Answers

Tom Cloyd

12/22/2008 6:51:00 AM

0

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)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Damjan Rems

12/22/2008 7:00:00 AM

0

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
--
Posted via http://www.ruby-....

Samatha Jupally

12/22/2008 7:30:00 AM

0

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?
--
Posted via http://www.ruby-....

Damjan Rems

12/22/2008 12:10:00 PM

0

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
--
Posted via http://www.ruby-....

John Wart, jr

1/22/2011 4:09:00 PM

0

On 1/22/2011 10:59 AM, Robert Somerdin wrote:
> By the way.. They are obviously not in the machine.. I just have them
> in the cash box in a ziploc bag..
>
> I am planning on running remote battery holders. I am going to use 4
> AA holders and place an extra diode in the extra battery space and use
> AA Lithium Batteries just so they pretty much never leak regardless of
> being mounted off the boards..
>
> Robert

Don't believe that lithium batteries don't leak!


RonKZ650

1/22/2011 4:12:00 PM

0

On Jan 22, 8:59 am, Robert Somerdin <rob...@somerdin.com> wrote:
> By the way.. They are obviously not in the machine.. I just have them
> in the cash box in a ziploc bag..
>
> I am planning on running remote battery holders. I am going to use 4
> AA holders and place an extra diode in the extra battery space and use
> AA Lithium Batteries just so they pretty much never leak regardless of
> being mounted off the boards..
>
> Robert

I bought new Cirqus Voltaire, No Good Gofers and Monster Bash and they
had Eveready HD batteries. Not alkaline, the cheaper heavy duty
branded. I don't know if Williams saw an advantage to using these over
alkaline or just their thought there was no benefit to installing
higher quality batteries.

Robert Somerdin

1/22/2011 4:54:00 PM

0

On Jan 22, 11:09 am, "John Wart, jr" <johnwar...@johnwartjr.com>
wrote:
> Don't believe that lithium batteries don't leak!

Hi John,
Yes, I have heard that they do, but I personally never experienced it.
Whereas alkaline's have ruined many an electronic device on me.

Robert

seymour-shabow

1/22/2011 5:03:00 PM

0

RonKZ650 wrote:
> On Jan 22, 8:59 am, Robert Somerdin <rob...@somerdin.com> wrote:
>> By the way.. They are obviously not in the machine.. I just have them
>> in the cash box in a ziploc bag..
>>
>> I am planning on running remote battery holders. I am going to use 4
>> AA holders and place an extra diode in the extra battery space and use
>> AA Lithium Batteries just so they pretty much never leak regardless of
>> being mounted off the boards..
>>
>> Robert
>
> I bought new Cirqus Voltaire, No Good Gofers and Monster Bash and they
> had Eveready HD batteries. Not alkaline, the cheaper heavy duty
> branded. I don't know if Williams saw an advantage to using these over
> alkaline or just their thought there was no benefit to installing
> higher quality batteries.

If they thought about it it's probably related to the continuous current
draw out of the batteries for the ram/real time clocks. There was
probably no advantage to using alkalines (the draw would have to be low
anyway for the batteries to not go dead quickly) - so the regular
batteries were probably a lot cheaper.

You might be able to peel off the label used for the original batteries
and put them on your new batteries for that truly original, look. ;)

-scott CARGPB#29

MB

1/22/2011 5:15:00 PM

0

On Jan 22, 9:02 am, "seymour.shabow" <seymour.sha...@gmail.com> wrote:
> RonKZ650 wrote:
> > On Jan 22, 8:59 am, Robert Somerdin <rob...@somerdin.com> wrote:
> >> By the way.. They are obviously not in the machine.. I just have them
> >> in the cash box in a ziploc bag..
>
> >> I am planning on running remote battery holders. I am going to use 4
> >> AA holders and place an extra diode in the extra battery space and use
> >> AA Lithium Batteries just so they pretty much never leak regardless of
> >> being mounted off the boards..
>
> >> Robert
>
> > I bought new Cirqus Voltaire, No Good Gofers and Monster Bash and they
> > had Eveready HD batteries. Not alkaline, the cheaper heavy duty
> > branded. I don't know if Williams saw an advantage to using these over
> > alkaline or just their thought there was no benefit to installing
> > higher quality batteries.
>
> If they thought about it it's probably related to the continuous current
> draw out of the batteries for the ram/real time clocks.  There was
> probably no advantage to using alkalines (the draw would have to be low
> anyway for the batteries to not go dead quickly) - so the regular
> batteries were probably a lot cheaper.
>
> You might be able to peel off the label used for the original batteries
> and put them on your new batteries for that truly original, look. ;)
>
> -scott CARGPB#29

NIB BK's opened a few years back had Duracells- from early 1980's.

Woz

1/22/2011 8:29:00 PM

0

> You might be able to peel off the label used for the original batteries
> and put them on your new batteries for that truly original, look. ;)
>
> -scott CARGPB#29


Don't give the anal pinball collectors (APC) ideas now...I'm sure
we'll see some repro battery labels on eBay soon!

Woz