Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#8196 closed defect (invalid)

config.cache_classes = true causes errors migration Rails 2.3

Reported by: anonymous Owned by:
Priority: normal Milestone:
Component: general Version: none
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

After the migration to Rails 2.3, everything works correctly in development mode, but I get several errors when I try to run the plugins in production, for example Ruport (also with other pluggins). The error is related to the option config.cache_classes = true. I was trying out various options that appear in the forums but none allowed me to solve the problem.

Copy of the stack error:

c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:445:in `load_missing_constant': uninitialized constant Ruport (NameError)

from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:77:in `const_missing' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:89:in `const_missing' from C:/ror/insem/app/models/reporte_formateador_pdf_horizontal.rb:1 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:155:in `require' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:262:in `require_or_load' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:221:in `depend_on'

… 23 levels…

from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from ./script/server:3 from -e:2:in `load' from -e:2

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 16 years ago

Resolution: invalid
Status: newclosed

Sorry, WrongTrac.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.