search for: expensive_call_for_us

Displaying 1 result from an estimated 1 matches for "expensive_call_for_us".

2013 Jan 25
9
Object#tap_if and Object#tap_unless
I originally brought this up in: https://github.com/rails/rails/issues/9067 Rails paved the way for Object#tap and Object#try...I''d like to propose Object#tap_if and its counterpart,Object#tap_unless. I''ve been following 37signals conventions of tapping variables in the views: <% account.owner.tap do |user| %> ... <% end %> But, I find myself having to do this