aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorAlberto Almagro <alberto.almagro@rakuten.com>2017-08-03 22:07:32 +0200
committerAlberto Almagro <alberto.almagro@rakuten.com>2017-08-14 23:56:12 +0200
commit10bf93ef92a70ae511036134290bf0e2de184b5c (patch)
tree839f02fe2096a6412448aaf747b393c5ee02502f /railties/lib
parent1e73c1d4f74bcca05f4691465e8482cce8a3fdb9 (diff)
downloadrails-10bf93ef92a70ae511036134290bf0e2de184b5c.tar.gz
rails-10bf93ef92a70ae511036134290bf0e2de184b5c.tar.bz2
rails-10bf93ef92a70ae511036134290bf0e2de184b5c.zip
Allow lazy load hooks to be executed only once
Provide run_once: true option to on_load in case you want a hook only to be executed once. This may be useful in cases where executing a hook several times may have undesired side effects
Diffstat (limited to 'railties/lib')
0 files changed, 0 insertions, 0 deletions