4 ms·
This has been solved already and will be part of Rails 4. Use strong parameters: https://github.com/rails/strong_parameters https://github.com/rails/strong_para
by tilsammans 14y ago
This has been solved already and will be part of Rails 4. Use strong parameters: https://github.com/rails/strong_parameters https://github.com/rails/strong_parameters
- jcromartie 14y agoWill this be a default in Rails 4? I feel like people should need to go through a lot of work to do something as dangerous as Rails/AR mass assignment...
- Legion 14y ago> Will this be a default in Rails 4? Yes.