Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's common in tutorials and quickstart guides, usually with a note saying that you really should be protecting things and not using mass-assignment. It just makes the blog in 5 minutes videos cleaner.


Reminds me of all the PHP tutorials floating around that only treat security as a side note. Essentially, the default configuration with Rails seems to be that users can set the data for any database column. It's almost as bad as register_globals...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: