Closed lonski closed 8 years ago
Hello!
Recently I encountered a problem when trying to create saved_querries per user. I fallowed the instructions from here: https://github.com/leikind/wice_grid/blob/rails3/SAVED_QUERIES_HOWTO.md
But after all I saw:
ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError): activemodel (4.2.3) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment'
I tracked that it complained because of mass attribute assigment using 'raw' parameters. I prepared a simple fix. Comments are welcomed.
Regards, Michał
Thanks
This functionality has not been worked on for quite some time, and I wanted to throw i away many times
Now it seems to work well. I did not encounter any more issues yet.
Regards
Hello!
Recently I encountered a problem when trying to create saved_querries per user. I fallowed the instructions from here: https://github.com/leikind/wice_grid/blob/rails3/SAVED_QUERIES_HOWTO.md
But after all I saw:
I tracked that it complained because of mass attribute assigment using 'raw' parameters. I prepared a simple fix. Comments are welcomed.
Regards, Michał