This project is archived and is in readonly mode.
Changeset [1668ad3baf36aa1fd495e7229c46ebbdebdffd27] by David Heinemeier Hansson
Revision 1668ad3baf36aa1fd495e7229c46ebbdebdffd27,
committed by David Heinemeier Hansson
· April 1st, 2010 @ 02:27 AM
Added Object#presence that returns the object if it's #present?
otherwise returns nil [DHH/Colin Kelley]
http://github.com/rails/rails/commit/1668ad3baf36aa1fd495e7229c46eb...
3 changed files
-
M
activesupport/CHANGELOG -
M
activesupport/lib/active_support/core_ext/object/blank.rb -
M
activesupport/test/core_ext/blank_test.rb