Hi there,

I'm running ROR via an apache 2.2 with the following specs:

Ruby version    1.8.4 (i486-linux)
RubyGems version        1.2.0
Rails version   2.1.0
Active Record version   2.1.0
Action Pack version     2.1.0
Active Resource version 2.1.0
Action Mailer version   2.1.0
Active Support version  2.1.0
Environment     development
Database adapter        mysql

I installed AS via git and moved active_scaffold to vendors/plugins/,
then put "map.resources :active_scaffold => true" into the config/
routes.rb.

When trying to browse to one of the controllers, I got error messages,
complaining about permissions, which I got rid of by commenting out
the lines in AS's init.rb. After that I get the following error
message, when trying to browse to the "Companies"-Site:

NameError (undefined local variable or method `active_scaffold' for
CompaniesController:Class):
    /app/controllers/companies_controller.rb:5
    /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/
dependencies.rb:215:in `load_file'
    /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/
dependencies.rb:354:in `new_constants_in'
    /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/
dependencies.rb:214:in `load_file'
    /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/
dependencies.rb:95:in `require_or_load'
    /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/
dependencies.rb:260:in `load_missing_constant'
    /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/
dependencies.rb:467:in `const_missing'
    /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/
dependencies.rb:479:in `const_missing'
    /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/
inflector.rb:283:in `constantize'
    /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/
core_ext/string/inflections.rb:143:in `constantize'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
routing/route_set.rb:386:in `recognize'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:148:in `handle_request'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:107:in `dispatch'
    /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:104:in `dispatch'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:120:in `dispatch_cgi'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/
dispatcher.rb:35:in `dispatch'
    /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/fcgi_handler.rb:103:in
`process_request'
    /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/fcgi_handler.rb:153:in
`with_signal_handler'
    /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/fcgi_handler.rb:101:in
`process_request'
    /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/fcgi_handler.rb:78:in
`process_each_request'
    /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:612:in
`each_cgi'
    /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:609:in
`each_cgi'
    /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/fcgi_handler.rb:77:in
`process_each_request'
    /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/fcgi_handler.rb:76:in
`process_each_request'
    /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/fcgi_handler.rb:50:in
`process!'
    /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/fcgi_handler.rb:24:in
`process!'
    /public/dispatch.fcgi:24

Now, in /app/controllers/companies_controller.rb:5 I simply have
"active_scaffold".

Does anybody know, how to resolve this?

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

  • Na... Sebastian
    • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.

Reply via email to