Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [e6d14279b881d8482c124bd55d0830a7ddcbcb0e] by raggi

Revision e6d14279b881d8482c124bd55d0830a7ddcbcb0e, committed by raggi · November 14th, 2010 @ 09:23 AM

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.
https://github.com/rails/rails/commit/e6d14279b881d8482c124bd55d083...

2 changed files

  • M activesupport/lib/active_support/core_ext/object/try.rb
  • M activesupport/test/core_ext/object_and_class_ext_test.rb