diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-06-18 05:34:16 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-06-18 05:34:16 +0000 |
commit | 2533799e811df3f59d0231a0d54cb82787cb16f1 (patch) | |
tree | 6ea5d518154a7475c776582af7cd0508a12d8d30 /activesupport/lib | |
parent | a2f26b971bf61263582604ad7e1af14b9566949e (diff) | |
download | rails-2533799e811df3f59d0231a0d54cb82787cb16f1.tar.gz rails-2533799e811df3f59d0231a0d54cb82787cb16f1.tar.bz2 rails-2533799e811df3f59d0231a0d54cb82787cb16f1.zip |
Added a 'whiny nil' that's aim to ensure that when users pass nil to methods where that isn't appropriate, instead of NoMethodError? and the name of some method used by the framework users will see a message explaining what type of object was expected. Only active in test and development environments by default #1209 [Michael Koziarski]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1454 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib')
0 files changed, 0 insertions, 0 deletions