form_forto be able to upload a file and now I am getting
web | POST /images web | ▸ Handled by Images::Create web | ▸ Lucky::MissingNestedParamError web | web | Missing param key: 'image' web | web | Backtrace web | web | lib/lucky/src/lucky/params.cr:168:7 in 'nested' web | src/models/image.cr:12:3 in 'permitted_params'
assetand it is send in multipart, not in form data. Operation looks only yo form data, and if it cannot find required param key, exception is raised. I fixed the problem aboce by adding another field to the form – a text field.