This project is archived and is in readonly mode.
Changeset [1c47d04ea5ac19601b316daf8fdc6f38c50eec73] by David Heinemeier Hansson
Revision 1c47d04ea5ac19601b316daf8fdc6f38c50eec73,
committed by David Heinemeier Hansson
· December 28th, 2009 @ 01:54 AM
Added Object#presence that returns the object if it's #present?
otherwise returns nil [DHH/Colin Kelley]
http://github.com/rails/rails/commit/1c47d04ea5ac19601b316daf8fdc6f...
3 changed files
-
M
activesupport/CHANGELOG -
M
activesupport/lib/active_support/core_ext/object/blank.rb -
M
activesupport/test/core_ext/blank_test.rb