|
|
|
|
|
by enraged_camel
3799 days ago
|
|
>>Remember, if every student is failing your class, the student probably isn't the one to blame. Except not every student is failing the class. Only those not following best practices are. For example, if you're using params.permit!, you're simply being lazy. This is clearly documented[1]: "Extreme care should be taken when using permit! as it will allow all current and future model attributes to be mass-assigned." [1]https://github.com/rails/strong_parameters#permitted-scalar-... |
|