Hi all. What am I missing here?
[output]
undefined method `paginate'' for #<AdminController:0xb74bf728>
[/output]
[admin_controller.rb]
class AdminController < ApplicationController
scaffold :product
end
[/admin_controller.rb]
$ ruby -v
ruby 1.8.6 (2007-06-07 patchlevel 36) [i686-linux]
$ rails -v
Rails 1.2.3
[WEBrick]
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> 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
127.0.0.1 - - [28/Jul/2007:20:15:18 BRT] "GET /admin HTTP/1.1" 500
9612
- -> /admin
[/WEBrick]
Thanks in advice.
--
Davi Vidal
davividal-UiHwsRqXctc1RhZgQKG/ig@public.gmane.org
davividal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
--
--------------------------------------------------------
Por favor não faça top-posting, coloque a sua resposta abaixo desta linha.
Eu não respondo top-post/HTML post. Obrigado.
Please don''t do top-posting, put your reply below the following line.
I don''t reply to top-post/HTML post. Thank you.
--------------------------------------------------------