If you use $request->$attribute, and $attribute is (for example) files, then the save will fail entirely because $request->files already exists as a public property on the Request model.
To prevent this from happening, and because something like 'files' is a very common name, we need to start using $request->input() and $request->except(). If not, this plugin will fail in strange ways if you use it on a field called 'files', 'searchable', 'polling', 'with', 'title', 'group', ...
If you use
$request->$attribute
, and$attribute
is (for example)files
, then the save will fail entirely because$request->files
already exists as a public property on the Request model.To prevent this from happening, and because something like 'files' is a very common name, we need to start using
$request->input()
and$request->except()
. If not, this plugin will fail in strange ways if you use it on a field called 'files', 'searchable', 'polling', 'with', 'title', 'group', ...