diff options
author | eileencodes <eileencodes@gmail.com> | 2015-03-12 08:23:43 -0400 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2015-03-12 08:25:51 -0400 |
commit | 044f9ab7a4d6646ddce4560bb83b58cdc0baa751 (patch) | |
tree | 78745f34671081a7f968395fbc66ca9693641168 /guides/source | |
parent | 9c655f1275c47509c0fa0f1b29ee29a009fc7066 (diff) | |
download | rails-044f9ab7a4d6646ddce4560bb83b58cdc0baa751.tar.gz rails-044f9ab7a4d6646ddce4560bb83b58cdc0baa751.tar.bz2 rails-044f9ab7a4d6646ddce4560bb83b58cdc0baa751.zip |
Use `def setup` instead of `setup do`
`setup do` creates unnecessary allocations of proc objects in callbacks.
This prevents that from happening and results in faster code.
Diffstat (limited to 'guides/source')
0 files changed, 0 insertions, 0 deletions