GrottoPress / shield

Comprehensive security for Lucky framework
MIT License
55 stars 8 forks source link

Merge `Avram::NestedSaveOperation`'s `.has_one_*` macros #10

Closed akadusei closed 3 years ago

akadusei commented 3 years ago

They were split between create and update operations because I could not figure out how to tell whether an operation is a save or an update.

It turns out id.value is always nil in a create operation, never in an update operation.