This is clearly a problem: with Rails' approach being 'right from the start', having no protection by default is not the right way to do it. This issue may be well known among the type of people that use github and read HN, but if someone had read about Rails being an awesome framework to make db-driven websites, they might not be aware of such a thing as a "mass assignment vulnerability."<p>If by adding a line or 2 to the code for generators can stop this, even if it includes a comment saying "Removing this line will do x y z", then I think the rails team could've treated the bug with a little more respect.<p>As @ericb said, if strong devs make this mistake, there's something wrong with the code.<p>I think it should also be noted that he didn't do anything malicious like trash repos, and even says on his blog:<p><pre><code> "Then I could wipe any post in any project. That wasn't that funny but pretty
dangereous[sic]. It got more curious."
</code></pre>
All he did was add a 3 line file to the master repo of a project that he was frustrated with. It generated all this attention, and will probably make them rethink the approach...<p>Finally: big props to the GitHub team for patching their vulnerability in <1hr on a Sunday...