This project is archived and is in readonly mode.
js.rjs views no longer found after render_to_string call
-
josh
- State changed from new to incomplete
- Assigned user set to josh
Can you please attach a failing unit test.
-
josh
- State changed from incomplete to wontfix
-
Nick Hoffman
Hi Joshua. I'll be happy to create a failing unit test. This is the first time that I'll be contributing to a ticket, so you might need to bear with me with while I learn the proper way to report things, what exactly to attach, etc.
I'll try to get on top of it this weekend.
Cheers, Nick
-
Henning
Nick: Thank you for offering to write the test. Please let me know if you run into problems.
-
Nick Hoffman
Hey guys. Attached is the test that I wrote to show this bug in action. Just untar it and run this file: test/unit/ticket870_rjs_test.rb
If you want to play with the test, start up the app's server, point your browser to http://localhost:3000/ticket870 , and click away. Check the server's log after you click the third link.
I created this with Rails v2.1.0 and Gem v1.3.1 .
If there's anything else I should do, just let me know.
Cheers, Nick
-
Henning
Thanks Nick!
-
Nick Hoffman
No problem, Henning. I hope what I submitted is appropriate.
-
josh
- State changed from incomplete to open
-
josh
Nick, could you make it a git patch if possible?
(Traveling right now, I'll get back to this ticket in a few days)
-
Nick Hoffman
Hi Josh. I just spent some time with the debugger, trying to track down why this bug occurs. However, I haven't been able to figure it out. Thus, I can't suggest a patch to fix it. Sorry, mate.
If you'd like me to go into detail wrt what's confusing me when stepping through the debugger, just let me know.
Cheers, Nick
-
josh
If you can't fix it that's okay. But an unit test patch is a little easier for everyone to verify.
Checkout the tests under actionpack/test/template
-
josh
- State changed from open to incomplete
-
josh
- State changed from incomplete to resolved
http://github.com/rails/rails/co...
I think this did fix it.
