diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-02-01 08:59:21 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-02-16 20:41:34 +0100 |
commit | 951b58206255791587e2491435a80cf0ab3b797b (patch) | |
tree | 7f4618f8ebb57a197b187c56ead4f512288815bd /railties/test/abstract_unit.rb | |
parent | e09ac7086b88da0b578c5f4851b6a10db8bfc5fb (diff) | |
download | rails-951b58206255791587e2491435a80cf0ab3b797b.tar.gz rails-951b58206255791587e2491435a80cf0ab3b797b.tar.bz2 rails-951b58206255791587e2491435a80cf0ab3b797b.zip |
Allow to set custom console type with Rails.application.config.console=
This patch adds ability to set custom console if you want to use
something other than IRB. Previously the hack that people used
was:
silence_warnings do
require 'pry'
IRB = Pry
end
which is not the best way to customize things.
Diffstat (limited to 'railties/test/abstract_unit.rb')
0 files changed, 0 insertions, 0 deletions