diff options
author | raggi <jftucker@gmail.com> | 2010-10-27 06:10:01 +0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-11-14 17:23:44 +0800 |
commit | e6d14279b881d8482c124bd55d0830a7ddcbcb0e (patch) | |
tree | c248862e1b261b86afcdebe44fa773f1101f71c1 /activemodel/lib/active_model/railtie.rb | |
parent | f43e5d160bf9708ad50b58c8168e38579769e024 (diff) | |
download | rails-e6d14279b881d8482c124bd55d0830a7ddcbcb0e.tar.gz rails-e6d14279b881d8482c124bd55d0830a7ddcbcb0e.tar.bz2 rails-e6d14279b881d8482c124bd55d0830a7ddcbcb0e.zip |
Add support for try to just yield the object to a block if no method is to be called. Kind of like a tap_if_present.
Diffstat (limited to 'activemodel/lib/active_model/railtie.rb')
0 files changed, 0 insertions, 0 deletions