diff options
author | Xavier Noria <fxn@hashref.com> | 2012-03-25 00:17:16 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-03-25 00:22:04 +0100 |
commit | 3756a3fdfe8d339a53bf347487342f93fd9e1edb (patch) | |
tree | e28225ac1edf8855a09e225caba43730cecba6b7 /actionpack/lib/action_controller | |
parent | 014498e1d74decd57d44d45c187fa4f4b968b811 (diff) | |
download | rails-3756a3fdfe8d339a53bf347487342f93fd9e1edb.tar.gz rails-3756a3fdfe8d339a53bf347487342f93fd9e1edb.tar.bz2 rails-3756a3fdfe8d339a53bf347487342f93fd9e1edb.zip |
Revert "Return an actual boolean from xml_http_request?"
Reason: This commit changes code that was committed some year
and a half ago. The original code is an ordinary predicate
that delegates straight to a boolean operator with no further
unnecessaru adorments, as clearly explained in #5329.
This change also may confuse users who may now believe they can
rely now on singletons, while predicates in Rails rely on
standard Ruby semantics for boolean values and guarantee no
singletons whatsover.
This reverts commit 6349791d5aaf652631b29f1371701fc2985fda83.
Diffstat (limited to 'actionpack/lib/action_controller')
0 files changed, 0 insertions, 0 deletions