dimanche 24 juin 2018

what use of exclusion and inclusion method in rails?

i read rails doc found exclusion and inclusion method this description

2.4 exclusion

This helper validates that the attributes' values are not included in a given set. In fact, this set can be any enumerable object.

but not understand use it

2.6 inclusion

same define

Aucun commentaire:

Enregistrer un commentaire