Forum: Ruby on Rails scaffold x paginate

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Davi (Guest)
on 2007-07-29 03:15
(Received via mailing list)
Hi all. What am I missing here?

undefined method `paginate' for #<AdminController:0xb74bf728>

class AdminController < ApplicationController
    scaffold :product

$ ruby -v
ruby 1.8.6 (2007-06-07 patchlevel 36) [i686-linux]

$ rails -v
Rails 1.2.3

=> Booting WEBrick...
=> Rails application started on
=> Ctrl-C to shutdown server; call with --help for options
[2007-07-28 20:15:15] INFO  WEBrick 1.3.1
[2007-07-28 20:15:15] INFO  ruby 1.8.6 (2007-06-07) [i686-linux]
[2007-07-28 20:15:15] INFO  WEBrick::HTTPServer#start: pid=8352
port=3000 - - [28/Jul/2007:20:15:18 BRT] "GET /admin HTTP/1.1" 500 9612
- -> /admin

  Thanks in advice.

Davi V.
This topic is locked and can not be replied to.