This project is archived and is in readonly mode.
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:
Note
this occurs with both ERB and Haml templates
Comments and changes to this ticket
-
josh February 11th, 2009 @ 03:07 PM
- Assigned user set to josh
- State changed from new to open
- Milestone cleared.
-
akia February 12th, 2009 @ 06:16 PM
I am having the exact same problem. Andrew White's patch applied to rails? I've updated edge rails to the latest but nothing changed!
-
josh February 12th, 2009 @ 08:03 PM
- State changed from open to resolved
Just applied yet another fix. I think it did it this time. Please try again and let me know how it goes.
-
akia February 12th, 2009 @ 08:12 PM
Oh, no more errors, it works well now. Thanks so much and keep up the good work.
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>
People watching this ticket
Referenced by
- 1909 Improve view performance in development and reinstate template reloading in production Looks like we have a threadsafety issue: http://rails.lig...