Wiki Forum Sign up! Explore Home

Not signed in (Sign In)

LiveSearch

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    Hi,

    When I try delete a user a got an error, like this:

    NameError in UsersController#destroy

    /var/www/cit/vendor/rails/activesupport/lib/active_support/dependencies.rb:100:in `const_missing': uninitialized constant Activity

    RAILS_ROOT: /var/www/cit/script/../config/..

    #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1246:in `compute_type'
    #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:131:in `const_missing'
    #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:133:in `send'
    #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:133:in `const_missing'
    (eval):1:in `compute_type'
    #{RAILS_ROOT}/app/controllers/users_controller.rb:77:in `destroy'

    Request
    Parameters: {"id"=>"6"}

    Response
    Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}


    Best regards,
    Renan Gonçalves
    • CommentAuthoradmin
    • CommentTimeJun 4th 2007
     permalink
    Fixed in my darcs repository, and I'll fix the live version today.