You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Hellfar
changed the title
model verification of number ranges, required, length .... Along with update callbacks
model validations update callbacks
Dec 4, 2018
Hellfar
changed the title
model validations update callbacks
model validations and update callbacks
Dec 4, 2018
In this type of model files:
https://github.com/foundpatterns/send-file-package/blob/master/models/slide.yaml
Validation fields:
It would be nice to handle fields validations such as (for example):
Callbacks events:
It would be also nice to define the name of callbacks to call when an item is
created
orupdated
or etc...For example:
on_create_my_method
which is a method defined somewhere by the user of the framework.Those features in Rails are named Active model and is documented in:
https://guides.rubyonrails.org/active_model_basics.html#model
The text was updated successfully, but these errors were encountered: