aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2009-12-27 17:54:43 -0800
committerDavid Heinemeier Hansson <david@loudthinking.com>2009-12-27 17:54:43 -0800
commit1c47d04ea5ac19601b316daf8fdc6f38c50eec73 (patch)
treef014e4d006cc02aa06e4c75f365723fe5f6672a3 /activerecord/lib/active_record/base.rb
parenta642edbef31fe96fad488accf0052653c573e8db (diff)
downloadrails-1c47d04ea5ac19601b316daf8fdc6f38c50eec73.tar.gz
rails-1c47d04ea5ac19601b316daf8fdc6f38c50eec73.tar.bz2
rails-1c47d04ea5ac19601b316daf8fdc6f38c50eec73.zip
Added Object#presence that returns the object if it's #present? otherwise returns nil [DHH/Colin Kelley]
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
0 files changed, 0 insertions, 0 deletions