This file contains hidden or 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
NoMethodError in User sessionsController#new | |
undefined method `is_entitled_to?' for nil:NilClass | |
RAILS_ROOT: /home/david/trisano-ee/webapp | |
Application Trace | Framework Trace | Full Trace | |
/home/david/trisano-ee/webapp/vendor/rails/activesupport/lib/active_support/whiny_nil.rb:52:in `method_missing' | |
/home/david/trisano-ee/webapp/vendor/plugins/outbreak_management/lib/outbreak_management/links.rb:14:in `add_outbreak_menu_links' | |
/home/david/trisano-ee/webapp/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `send' |
This file contains hidden or 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
[#<ActionController::Filters::BeforeFilter:0x7ffb26e7a6e8 @kind=:filter, @options={}, @identifier=nil, @method=:activate_authlogic>, #<ActionController::Filters::BeforeFilter:0x7ffb26bd6450 @kind=:filter, @options={:skip=>{:only=>#<Set: {"login"}>}}, @identifier=nil, @method=:load_user>, #<ActionController::Filters::BeforeFilter:0x7ffb26d1d278 @kind=:filter, @options={}, @identifier=nil, @method=:prep_extensions>, #<ActionController::Filters::BeforeFilter:0x7ffb26d0bde8 @kind=:filter, @options={}, @identifier=nil, @method=:render_locale_selector>, #<ActionController::Filters::BeforeFilter:0x7ffb26d0bca8 @kind=:filter, @options={}, @identifier=nil, @method=:set_locale>, #<ActionController::Filters::BeforeFilter:0x7ffb26cddc68 @kind=:filter, @options={}, @identifier=nil, @method=:add_outbreak_menu_links>] | |
[#<ActionController::Filters::BeforeFilter:0x7f5ece120528 @kind=:filter, @options={}, @identifier=nil, @method=:activate_authlogic>, #<ActionController::Filters::BeforeFilter:0x7f5ecde906f0 @kind=:filter, @opt |
This file contains hidden or 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
module TrisanoSecuritay | |
module Controllers | |
module ApplicationController | |
reloadable! | |
hook! 'ApplicationController' | |
def load_user_with_authlogic | |
puts "Yay - you finally got here!#{Time.now.to_s}" | |
end | |
This file contains hidden or 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
module TrisanoSecuritay | |
module Controllers | |
module ApplicationController | |
reloadable! | |
hook! 'ApplicationController' | |
def load_user_with_authlogic | |
raise "Yay - you finally got here!" | |
end | |
This file contains hidden or 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
module TrisanoSecuritay | |
module Models | |
module User | |
reloadable! | |
hook! 'User' | |
acts_as_authentic | |
end | |
end |
This file contains hidden or 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
david@UTDR-AS-TX:~> \pg_dump -s -U dw_priv_user -t warehouse_a.dw_morbidity_events trisano_warehouse | |
-- | |
-- PostgreSQL database dump | |
-- | |
SET client_encoding = 'UTF8'; | |
SET standard_conforming_strings = off; | |
SET check_function_bodies = false; | |
SET client_min_messages = warning; | |
SET escape_string_warning = off; |
This file contains hidden or 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
david@UTDR-AS-TX:~> pg_dump -s -U dw_priv_user -t warehouse_b.dw_morbidity_events trisano_warehouse | |
-- | |
-- PostgreSQL database dump | |
-- | |
SET client_encoding = 'UTF8'; | |
SET standard_conforming_strings = off; | |
SET check_function_bodies = false; | |
SET client_min_messages = warning; | |
SET escape_string_warning = off; |
This file contains hidden or 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
cucumber features/troop_achievements.feature | |
Feature: CRUD for Achievements exposed to Troop Admins | |
As a Troop admin | |
I want to create,remove,and update achievements for my troop | |
So that I can easily track my scouts advancements | |
Scenario: Troop admin can browse achievements # features/troop_achievements.feature:6 | |
Given the site is warmed up # features/step_definitions/shared_steps.rb:1 | |
undefined method `Factory' for #<ActionController::Integration::Session:0x4c45eec> (NoMethodError) | |
/Users/dave/TroopTrack/vendor/plugins/rspec/lib/spec/matchers/method_missing.rb:6:in `method_missing' |
This file contains hidden or 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
david@mba-ubu:~/dist/distro$ ./upgrade_db.sh | |
!!WARNING!!: this may take several minutes. Run: tail -f ./upgrade_db_output.txt to watch upgrade progress | |
cd ../webapp/ | |
/home/david/opt/jruby/bin/jruby -S rake db:migrate RAILS_ENV=production | |
/home/david/opt/jruby/bin/jruby /home/david/dist/webapp/script/runner /home/david/dist/webapp/script/load_common_test_types.rb /home/david/dist/webapp/db/defaults/common_test_types.csv | |
/home/david/opt/jruby/bin/jruby /home/david/dist/webapp/script/runner /home/david/dist/webapp/script/load_loinc_codes.rb /home/david/dist/webapp/db/defaults/loinc_codes_to_common_test_types.csv | |
/home/david/opt/jruby/bin/jruby /home/david/dist/webapp/script/runner /home/david/dist/webapp/script/migrate_lab_results.rb | |
/home/david/opt/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:35:in `require': undefined method `map' for nil:NilClass (NoMethodError) | |
from /home/david/dist/webapp/script/runner:3 | |
rake aborted! |
This file contains hidden or 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
david@bigubu:~/dist/distro$ ./upgrade_db.sh | |
!!WARNING!!: this may take several minutes. Run: tail -f ./upgrade_db_output.txt to watch upgrade progress | |
cd ../webapp/ | |
/home/david/opt/jruby/bin/jruby -S rake db:migrate RAILS_ENV=production | |
/home/david/opt/jruby/bin/jruby /home/david/dist/webapp/script/runner /home/david/dist/webapp/script/load_common_test_types.rb /home/david/dist/webapp/db/defaults/common_test_types.csv | |
/home/david/dist/webapp/vendor/rails/actionpack/lib/action_controller/middleware_stack.rb:84 warning: given block not used | |
/home/david/opt/jruby/bin/jruby /home/david/dist/webapp/script/runner /home/david/dist/webapp/script/load_loinc_codes.rb /home/david/dist/webapp/db/defaults/loinc_codes_to_common_test_types.csv | |
/home/david/dist/webapp/vendor/rails/actionpack/lib/action_controller/middleware_stack.rb:84 warning: given block not used | |
rake aborted! | |
Command failed with status (1): [/home/david/opt/jruby/bin/jruby -S rake db...] |