Hello All,
I'm new to AS and hope that my problem isn't something really basic
that I've overlooked. Anyway, here goes:
My environment is Ruby 1.8.6 and Rails 2.3.2 running under Vista Home
Premium
I followed the following procedure to install AS:

1) script/plugin install git://github.com/activescaffold/active_scaffold.git
2) script/plugin install git://github.com/ewildgoose/render_component.git
-r rails-2.3

My app has a class "Compiler"

I performed the following modifications to the controller:
class CompilersController < ApplicationController
  active_scaffold :compiler
end

and added the following lines to layout
  <%= javascript_include_tag :defaults %>
  <%= active_scaffold_includes %>

modified routes.rb
map.resources :compilers, :active_scaffold => true

when I point my browser to http://localhost:3000/compilers I get the
following error

Processing ApplicationController#index (for 127.0.0.1 at 2009-08-16
17:41:37) [GET]

NoMethodError (undefined method `active_scaffold' for
CompilersController:Class):
  app/controllers/compilers_controller.rb:2
  -e:2:in `load'
  -e:2

Rendered rescues/_trace (43.0ms)
Rendered rescues/_request_and_response (1.0ms)
Rendering rescues/layout (internal_server_error)

Thank you in advance for any help you can provide me with.

Hikmet

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to