mercredi 31 mai 2017

Rails: A method with no definition?

I am reading a Rails code not written by me. I am trying to understand the purpose of some method, but I can't find its definition anywhere in the source code. The method is called on_init. I have searched for matches for the string def on_init with no results.

Does anyone has an idea how can I find out the purpose of this method?

Thank you in advance!

Aucun commentaire:

Enregistrer un commentaire