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

Why is strong_parameters not the only way? Rails is pretty opinionated in many other respects...


The downside of 'don't break APIs for minor version changes' means that you can't break APIs until the major version changes. ;)


It was opinionated to use attr_accessible until a better approach came along. Beginning in 4.0 it will be opinionated to use strong_parameters, but they can't just take attr_accessible away because a lot of people are upgrading apps.


It will be the default in rails 4... so soon : )




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

Search: