diff options
author | Arun Agrawal <arunagw@gmail.com> | 2011-12-21 15:39:50 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2011-12-21 15:39:50 +0530 |
commit | 7276fc63be79a5769acb28b54d248c87591c1825 (patch) | |
tree | 06bf4f972cc4148ce33164f4a27cc3203bb52052 /activerecord/lib/active_record | |
parent | de78c7e8e4a28425f2047eb8c708f396819d6ff0 (diff) | |
download | rails-7276fc63be79a5769acb28b54d248c87591c1825.tar.gz rails-7276fc63be79a5769acb28b54d248c87591c1825.tar.bz2 rails-7276fc63be79a5769acb28b54d248c87591c1825.zip |
'with_kcode' removed.
Testing Sandbox removed.
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/test_case.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/activerecord/lib/active_record/test_case.rb b/activerecord/lib/active_record/test_case.rb index ffe9b08dce..21aff475a8 100644 --- a/activerecord/lib/active_record/test_case.rb +++ b/activerecord/lib/active_record/test_case.rb @@ -56,18 +56,5 @@ module ActiveRecord ensure ActiveRecord::SQLCounter.ignored_sql = prev_ignored_sql end - - def with_kcode(kcode) - if RUBY_VERSION < '1.9' - orig_kcode, $KCODE = $KCODE, kcode - begin - yield - ensure - $KCODE = orig_kcode - end - else - yield - end - end end end |