News for hackers. Stuff that matters.
Re:Weapons of Mass Assignment: Patio11 on Diaspora by JonnieCache on Wednesday April 27, 2011 @06:05AM (#2488947)
It has a threadsafe mode. It is disabled by default and to my knowledge hardly anyone uses it because you would need to audit all your dependencies to make sure they were threadsafe as well.
Re:Weapons of Mass Assignment: Patio11 on Diaspora by tyler on Wednesday April 27, 2011 @06:37AM (#2489008)
So, what the "thread-safe mode" does is enable threads in Rails. (i.e. one thread per request.) To my knowledge, it does not switch out thread-unsafe code for thread-safe code.

Moreover, it's irrelevant. As I mentioned, this is unrelated to why Rails apps are typically run as multiple processes.

Re:Weapons of Mass Assignment: Patio11 on Diaspora by erez on Wednesday April 27, 2011 @08:04AM (#2489159)
As with Twitter, I don't think Rails, nor Ruby, is the issue. Whatever you do with a framework, or a language, is mostly your fault. Ruby on Rails can only be as good as the people use it are, and while I realise the Rails aggressive marketing gives people the impression that RoR is a bullet-proof solution, it isn't, and shouldn't be blamed if a developer doesn't understand the tools he's using.