high_voltage isolation test
- Related to issue #160
When eager_load
is enabled an error is generated:
pages_controller.rb:1:in '<top (required)>': uninitialized constant ApplicationController (NameError)
% git clone https://github.com/hansondr/high_voltage_isolation_test.git
% cd high_voltage_isolation_test
% bin/setup
% rails s
% curl localhost:3000
expected output
<!DOCTYPE html>
<html>
<head>
<title>Demo</title>
</head>
<body>
<h1>Welcome to the Demo</h1>
</body>
</html>
- Restart the server in production mode:
% rails s -e production
- Expected exception:
~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/high_voltage-2.4.0/app/controllers/high_voltage/pages_controller.rb:1:in '<top (required)>': uninitialized constant ApplicationController (NameError)