This variation of a simple bar chart adds sorting with staggered delay and translucency to improve readability during the transition. This technique is recommended by Heer & Robertson. Use the checkbox in the top right to turn sorting on or off.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
require 'bundler/inline' | |
rescue LoadError => e | |
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler' | |
raise e | |
end | |
gemfile(true) do | |
source 'https://rubygems.org' | |
# Activate the gem you are reporting the issue against. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Activate the gem you are reporting the issue against. | |
gem 'activerecord', '4.0.10' | |
gem 'sqlite3', '1.3.9' | |
gem 'paper_trail', '3.0.6' | |
gem 'friendly_id', '5.0.4' | |
require 'active_record' | |
require 'minitest/autorun' | |
require 'logger' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Activate the gem you are reporting the issue against. | |
gem 'rails', '3.2.17' | |
gem 'sqlite3', '1.3.9' | |
gem 'paper_trail', '3.0.0' | |
require 'active_record/railtie' | |
require 'action_controller/railtie' | |
require 'rails/test_help' | |
require 'logger' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Activate the gem you are reporting the issue against. | |
gem 'railties', '4.1.0.rc1' | |
require 'minitest/autorun' | |
# Ensure backward compatibility with Minitest 4 | |
Minitest::Test = MiniTest::Unit::TestCase unless defined?(Minitest::Test) | |
class BugTest < Minitest::Test | |
def test_require_statements |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Activate the gem you are reporting the issue against. | |
gem 'activerecord', '4.0.0' | |
require 'active_record' | |
require 'minitest/autorun' | |
require 'logger' | |
# This connection will do for database-independent bug reports. | |
ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:') | |
ActiveRecord::Base.logger = Logger.new(STDOUT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Activate the gem you are reporting the issue against. | |
gem 'activerecord', '4.0.0' | |
require 'active_record' | |
require 'minitest/autorun' | |
require 'logger' | |
# This connection will do for database-independent bug reports. | |
ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:') | |
ActiveRecord::Base.logger = Logger.new(STDOUT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "/Users/batkins/.rvm/scripts/rvm" # status=0 | |
rvm --version # status=0; match=/rvm 1.10.0/ | |
mkdir ABC-abc # status=0 | |
cd ABC-abc # status=0 | |
rvm use 1.9.2@ABC-abc --rvmrc --create # status=0; match=/Using .*ruby-1.9.2-p290 with gemset ABC-abc/ | |
rvm current # status=0; match=/ruby-1.9.2-p290@ABC-abc/ | |
rvm gemset list # status=0; match=/=> ABC-abc/ | |
cd ../ # status=0; | |
rvm gemset use global # status=0; match=/Using .*\/ruby-1.9.2-p290 with gemset global/ | |
cd ABC-abc # status=0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "/Users/batkins/.rvm/scripts/rvm" # status=0 | |
rvm --version # status=0; match=/rvm 1.10.2/ | |
mkdir ABC-abc # status=0 | |
cd ABC-abc # status=0 | |
rvm use 1.9.2@ABC-abc --rvmrc --create # status=0; match=/Using .*ruby-1.9.2-p290 with gemset ABC-abc/ | |
rvm current # status=0; match=/ruby-1.9.2-p290@ABC-abc/ | |
rvm list # status=0; match=/\* ree-1.8.7-2011.03/;match=/=> ruby-1.9.2-p290/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(shell) | |
batkins: ~$: irb | |
1.8.7 :001> "12/10/11".to_time | |
NoMethodError: undefined method `to_time` for "12/10/11":String | |
from (irb):1 | |
from :0 | |
1.8.7 :002> # This demonstrates what you're talking about where it isn't finding the to_time method | |
1.8.7 :003> require 'rubygems' | |
=> true | |
1.8.7 :004> require 'active_support/all' |