This project is archived and is in readonly mode.

#1937 ✓resolved
stefanpenner

thread safety issues with view rendering in 2.3 RC1 (edge)

Reported by stefanpenner | February 11th, 2009 @ 04:17 AM

when config.threadsafe! is uncommented in production and a page is loaded for the second time an error occurs.

"can't modify frozen object"

Environment specs

  • Rails 2.3 rc1
  • ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9]
  • OSX 10.5.6
  • ERB
  • Haml 2.1.0 ( github )

Error:

"can't modify frozen object"

Full stack trace:

http://gist.github.com/61816

Note

this occurs with both ERB and Haml templates

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Referenced by

Pages