module Lucky::CatchUnpermittedAttribute

Overview

Catch unpermitted Avram::SaveOperation attribute and raises a helpful error.

Include this in your field components to get a nice compile-time error if you forgot to permit a column in your SaveOperation.

This module is included in the default Shared::Field component in new Lucky apps.

Defined in:

lucky_avram/ext/lucky/catch_unpermitted_attributes.cr