Bonjour apparement le repo du plugin will_paginate est down svn://errtheblog.com Quelqu'un aurait t'il le plugin sous le coude à m'envoyer ? Merci
on 2007-10-09 10:47
on 2007-10-09 10:58
On 10/9/07, Kpitn <pierre.basile@gmail.com> wrote: > > Bonjour apparement le repo du plugin will_paginate est down > > svn://errtheblog.com > > > Quelqu'un aurait t'il le plugin sous le coude à m'envoyer ? > > Je viens de te l'envoyer en privé. -- Cyril Mougel http://blog.shingara.fr
on 2007-10-09 10:59
Voilà: http://saiks.org/~webs/will_paginate.tar.gz Par contre c'est un checkout qui date de aout. ++ Le 9 oct. 07 à 10:46, Kpitn a écrit :
on 2010-08-31 07:45
On 30 August 2010 10:33, Jeff Chen <jeffchen1453@gmail.com> wrote: >> and just fetch all records that all works as expected. > 17:30:14) [GET] >  [4;35;1mSQL (64.0ms) [0m   [0mSHOW TABLES [0m >  [4;36;1mItem Columns (403.0ms) [0m   [0;1mSHOW FIELDS FROM > `items` [0m > > NoMethodError (undefined method `paginate' for #<Class:0x675f980>): >  app/controllers/manage_controller.rb:25:in `list' Right so the error is in list, that is why I asked for the whole error message. >  c:/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start' > I see that the error is from Item.paginate. You have not told us anything about the Item class. Can you show us the code for that class (delete methods that are not relevant before posting) and confirm the path and filename to that class. I am running out of ideas however. Colin
on 2010-08-31 09:45
On 8月30æ—¥, 下åˆ8時19分, Colin Law <clan...@googlemail.com> wrote: > > >> exactly what is happening and make sure the code you post matches the > > >  c:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start' > >  c:/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start' > >  c:/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start' > > I see that the error is from Item.paginate.  You have not told us > anything about the Item class.  Can you show us the code for that > class (delete methods that are not relevant before posting) and > confirm the path and filename to that class. The item.rb of model is : class Item < ActiveRecord::Base end Do I need to add the codes into the item.rb? > > I am running out of ideas however. I am so happy to get your support, because it confuse me for several months, and I believe you can help me because you own 6 stars in this Talk.
on 2010-08-31 10:10
On 31 August 2010 03:49, Jeff Chen <jeffchen1453@gmail.com> wrote: >> >> ... >> >> >> > Â c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' > > The item.rb of model is : > class Item < ActiveRecord::Base > end > > Do I need to add the codes into the item.rb? No, what you have looks ok. Only one more suggestion I think, I seem to remember some-one having a similar problem and it went away when they used Mongrel instead of Webrick, though I do not understand why. I can only suggest you try that, so start the server with ruby script/server --mongrel and see what happens. I always use mongrel as for me it loads much faster. Colin
on 2010-08-31 11:34
On 8月31æ—¥, 下åˆ3時57分, Colin Law <clan...@googlemail.com> wrote: > >> >> ... > > > >> >  c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' > > Webrick, though I do not understand why.  I can only suggest you try > that, so start the server with > ruby script/server --mongrel I did run: ruby script/server --mongrel , and got the result is "server : invalid option --mongrel". Where to get the mongrel, and how to fix it up when I run above command again?
on 2010-08-31 12:07
On 31 August 2010 10:33, Jeff Chen <jeffchen1453@gmail.com> wrote: > I did run: ruby script/server --mongrel , and got the result is > "server : invalid option --mongrel". > Where to get the mongrel, and how to fix it up when I run above > command again? I don't know, it just worked for me, in fact it defaults to mongrel on my Ubuntu install. Have you tried googling for rails install mongrel? Colin
on 2010-08-31 15:59
you just need to have mongrel gem installed on your system and `ruby script/server` will run with it.
on 2010-09-01 05:20
On 8月31æ—¥, 下åˆ9時25分, Samuel Flores <samflo...@gmail.com> wrote: > you just need to have mongrel gem installed on your system and `ruby > script/server` will run with it. > I input : gem install mongrel --include-dependencies and gem install mongrel_service --include-dependencies and run the script/server got the result: c:/ruby/lib/gems/actionpack-2.3.8/lib/../_trace.erb:23: warning: parenthesize argument(s) for future version. then I run the localhost:3000/manage then got the error msg: undefined method `paginate' for #<Class:0x60f629c> I checked the system status of mongrel, which is empty. which means the system is not active when I run above commands.
on 2010-09-07 12:17
On 8月31æ—¥, 下åˆ5時33分, Jeff Chen <jeffchen1...@gmail.com> wrote: > > >> >> ... > > > > >> >  c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' > > > Webrick, though I do not understand why.  I can only suggest you try > > that, so start the server with > > ruby script/server --mongrel > > I did run: ruby script/server --mongrel , and got the result is > "server : invalid option --mongrel". > Where to get the mongrel, and how to fix it up when I run above > command again? Someone can give me the answer --- how to active the mongrel successful, and how to fix the invalid option? Thanks.
on 2010-09-07 16:36
Hi Jeff, That's a french speaking mailing-list :) Concerning your problem, it seems will_paginate is not installed.
on 2010-09-07 22:16
On 1 September 2010 04:19, Jeff Chen <jeffchen1453@gmail.com> wrote: > c:/ruby/lib/gems/actionpack-2.3.8/lib/../_trace.erb:23: warning: > parenthesize argument(s) for future version. Can you post the complete output seen in the terminal when you start mongrel and enter localhost:3000/manage in the browser. > > then I run the localhost:3000/manage then got the error msg: > undefined method `paginate' for #<Class:0x60f629c> > > I checked the system status of mongrel, which is empty. which means > the system is not active when I run above commands. What do you mean by the system status of mongrel? If mongrel is not running I do not see how you get any output at all in the browser. Also please post complete output of gem list --local Colin
on 2010-09-08 04:18
On 9月8æ—¥, 上åˆ4時14分, Colin Law <clan...@googlemail.com> wrote: > > > undefined method `paginate' for #<Class:0x60f629c> > > > I checked the system status of mongrel, which is empty. which means > > the system is not active when I run above commands. > > What do you mean by the system status of mongrel?  If mongrel is not > running I do not see how you get any output at all in the browser. The status is space, not running at all. How to activate it? > > Also please post complete output of > gem list --local Here is the complete output of gem list --local: actionmailer (2.3.8, 2.3.5, 1.2.1) actionpack (2.3.8, 2.3.5, 1.12.1) actionwebservice (1.1.2) activerecord (2.3.8, 2.3.5, 1.14.2) activeresource (2.3.8, 2.3.5) activesupport (2.3.8, 2.3.5, 1.3.1) cgi_multipart_eof_fix (2.5.0) fxri (0.3.6) fxruby (1.6.12 mswin32) gem_plugin (0.2.3) hpricot (0.6 mswin32) log4r (1.0.5) mongrel (1.1.5 x86-mswin32-60) mongrel_cluster (1.0.5) mongrel_service (0.3.4 i386-mswin32) mysql (2.8.1 x86-mswin32) paginate (0.1.1) rack (1.1.0, 1.0.1) rails (2.3.8, 2.3.5, 1.1.2) rake (0.8.7, 0.7.3) rubygems-update (1.3.7, 1.3.6) sources (0.0.1) sqlite3-ruby (1.3.0 x86-mswin32-60) will_paginate (2.3.14) win32-api (1.0.4 mswin32) win32-clipboard (0.4.3) win32-dir (0.3.2) win32-eventlog (0.4.6) win32-file (0.5.4) win32-file-stat (1.2.7) win32-process (0.5.3) win32-sapi (0.1.4) win32-service (0.5.2 mswin32) win32-sound (0.4.1) windows-api (0.2.0) windows-pr (0.7.2)
on 2010-09-08 09:15
On Sep 1, 4:19 am, Jeff Chen <jeffchen1...@gmail.com> wrote: > and run the script/server got the result: > c:/ruby/lib/gems/actionpack-2.3.8/lib/../_trace.erb:23: warning: > parenthesize argument(s) for future version. > > then I run the localhost:3000/manage then got the error msg: > undefined method `paginate' for #<Class:0x60f629c> Are you definitely only calling paginate on ActiveRecord classes? Are you able to reproduce the problem in a fresh, empty, rails app? Fred
on 2010-09-08 10:33
On 8 September 2010 03:15, Jeff Chen <jeffchen1453@gmail.com> wrote: >> >> > I input : gem install mongrel --include-dependencies and gem install >> > mongrel_service --include-dependencies >> >> > and run the script/server got the result: >> > c:/ruby/lib/gems/actionpack-2.3.8/lib/../_trace.erb:23: warning: >> > parenthesize argument(s) for future version. >> >> Can you post the complete output seen in the terminal when you start >> mongrel and enter localhost:3000/manage in the browser. You have not provided this information. >> running I do not see how you get any output at all in the browser. > activerecord (2.3.8, 2.3.5, 1.14.2) > mongrel_service (0.3.4 i386-mswin32) > mysql (2.8.1 x86-mswin32) > paginate (0.1.1) Could the fact that you have paginate and will_paginate installed be an issue? It might be worth removing this one. Colin
on 2010-09-09 03:45
On 9月8æ—¥, 下åˆ4時31分, Colin Law <clan...@googlemail.com> wrote: > >> >> you just need to have mongrel gem installed on your system and `ruby > >> mongrel and enter localhost:3000/manage in the browser. > >> > I checked the system status of mongrel, which is empty. which means > > Here is the complete output of gem list --local: > > hpricot (0.6 mswin32) > > log4r (1.0.5) > > mongrel (1.1.5 x86-mswin32-60) > > mongrel_cluster (1.0.5) > > mongrel_service (0.3.4 i386-mswin32) > > mysql (2.8.1 x86-mswin32) > > paginate (0.1.1) > > Could the fact that you have paginate and will_paginate installed be > an issue?  It might be worth removing this one. I did remove all the file and directory of paginate, and got the result when run the http://localhost:3000/manage after running the ruby script/server: Processing ManageController#index (for 127.0.0.1 at 2010-09-09 09:40:06) [GET] [4;36;1mSQL (2.0ms) [0m [0;1mSHOW TABLES [0m [4;35;1mItem Columns (4.0ms) [0m [0mSHOW FIELDS FROM `items` [0m NoMethodError (undefined method `paginate' for #<Class:0x607f0ac>): app/controllers/manage_controller.rb:25:in `list' app/controllers/manage_controller.rb:4:in `index' Rendered rescues/_trace (117.0ms) Rendered rescues/_request_and_response (1.0ms) Rendering rescues/layout (internal_server_error)
on 2010-09-09 09:08
On 9 September 2010 02:44, Jeff Chen <jeffchen1453@gmail.com> wrote: >> >> On 1 September 2010 04:19, Jeff Chen <jeffchen1...@gmail.com> wrote: >> >> > parenthesize argument(s) for future version. >> >> >> Can you post the complete output seen in the terminal when you start >> >> mongrel and enter localhost:3000/manage in the browser. >> >> You have not provided this information. So what happened to the problem running mongrel? Colin
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.