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
ActiveRecord::ConnectionNotEstablished | |
ActiveRecord::ConnectionNotEstablished | |
Rails.root: /home/jamie/workspace_ruby/cwo_rails3/railz | |
Application Trace | Framework Trace | Full Trace | |
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:409:in `retrieve_connection' | |
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in `retrieve_connection' | |
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_specification.rb:89:in `connection' | |
activerecord (3.1.3) lib/active_record/query_cache.rb:67:in `call' |
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
# MySQL. Versions 4.1 and 5.0 are recommended. | |
# | |
# Install the MYSQL driver | |
# gem install mysql2 | |
# | |
# Ensure the MySQL gem is defined in your Gemfile | |
# gem 'mysql2' | |
# | |
# And be sure to use new-style password hashing: | |
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html |
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
$ rails console | |
/home/jamie/.rvm/gems/ruby-1.8.7-p357@rails-3/gems/activerecord-3.1.3/lib/active_record/base.rb:1088:in `method_missing': undefined method `mass_assignment_sanitizer=' for ActiveRecord::Base:Class (NoMethodError) | |
from /home/jamie/.rvm/gems/ruby-1.8.7-p357@rails-3/gems/activerecord-3.1.3/lib/active_record/railtie.rb:59:in `send' | |
from /home/jamie/.rvm/gems/ruby-1.8.7-p357@rails-3/gems/activerecord-3.1.3/lib/active_record/railtie.rb:59 | |
from /home/jamie/.rvm/gems/ruby-1.8.7-p357@rails-3/gems/activesupport-3.1.3/lib/active_support/ordered_hash.rb:162:in `each' | |
from /home/jamie/.rvm/gems/ruby-1.8.7-p357@rails-3/gems/activesupport-3.1.3/lib/active_support/ordered_hash.rb:162:in `each' | |
from /home/jamie/.rvm/gems/ruby-1.8.7-p357@rails-3/gems/activerecord-3.1.3/lib/active_record/railtie.rb:58 | |
from /home/jamie/.rvm/gems/ruby-1.8.7-p357@rails-3/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval' | |
from /home/jamie/.rvm/gems/ruby-1.8.7-p357@rails-3/gems/activesupport-3 |
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
mysql> update cwv | |
-> set | |
-> monthly_visits='72', | |
-> mv_numerator='11909', | |
-> mv_denominator='16444', | |
-> visits_in_the_home='100', | |
-> vih_numerator='95976', | |
-> vih_denominator='96382' | |
-> from caseworker_visits cwv | |
-> inner join states s |
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
cwo_data@rails:~$ rvm list | |
+ : 16 > rvm list | |
+ /scripts/cli : rvm() 1 > typeset result current_result | |
+ /scripts/cli : rvm() 3 > [[ -n 4.1.5(1)-release ]] | |
+ /scripts/cli : rvm() 5 > trap __rvm_teardown_final 0 1 2 3 15 | |
+ /scripts/cli : rvm() 8 > next_token=list | |
+ /scripts/cli : rvm() 9 > [[ 1 -eq 0 ]] | |
+ /scripts/cli : rvm() 9 > shift | |
+ /scripts/cli : rvm() 11 > __rvm_initialize | |
+ /scripts/functions/init : __rvm_initialize() 1 > export rvm_ruby_load_path rvm_ruby_require |
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
cwo_data@rails:~$ env | grep ^rvm | |
+ : 21 > grep '^rvm' | |
+ : 21 > env | |
rvm_bin_path=/home/cwo_data/.rvm/bin | |
rvm_path=/home/cwo_data/.rvm | |
rvm_prefix=/home/cwo_data | |
rvm_version=1.10.2 | |
rvm_ruby_string=ree | |
rvm_reload_flag=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
cwo_data@rails:~$ rvm reinstall ree --trace | |
ree --trace | |
rvm 1.10.2 by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.beginrescueend.com/] | |
+ /scripts/cli : __rvm_parse_args() 727 > [[ -n '' ]] | |
+ /scripts/cli : __rvm_parse_args() 728 > export 'PS4=+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > ' | |
+ /scripts/cli : __rvm_parse_args() 728 > PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > ' | |
+ /scripts/cli : __rvm_parse_args() 759 > [[ -z reinstall ]] | |
+ /scripts/cli : __rvm_parse_args() 761 > [[ 0 -eq 1 ]] |
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
# LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/ext/apache2/mod_passenger.so | |
# PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14 | |
# PassengerRuby /usr/local/bin/ruby | |
LoadModule passenger_module /home/cwo_data/.rvm/gems/ree-1.8.7-2011.12@cwo_data/gems/passenger-3.0.11/ext/apache2/mod_passenger.so | |
PassengerRoot /home/cwo_data/.rvm/gems/ree-1.8.7-2011.12@cwo_data/gems/passenger-3.0.11 | |
PassengerRuby /home/cwo_data/.rvm/wrappers/ree-1.8.7-2011.12@cwo_data/ruby | |
PassengerDefaultUser www-data |
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
[#|2012-01-20T19:58:56.489+0000|INFO|glassfish3.1.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=37;_ThreadName=Thread-2;|PWC1412: WebModule[null] ServletContext.log(): | |
ActionView::Template::Error (undefined method `file' for #<Digest::MD5: 1c9609bc58b1e77c196de29021583379>): | |
5: <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;"/> | |
6: <title><%= @page_title or 'Child Welfare Outcomes Report Data' %></title> | |
7: | |
8: <%= stylesheet_link_tag "styles", "jquery.crossSelect" %> | |
9: <!--[if lte IE 6]> | |
10: <%= stylesheet_link_tag "ie6" %> | |
11: <![endif]--> | |
app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb___1542464412_2022' |
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
html { | |
padding: 18px 36px; | |
} | |
head { | |
display: block; | |
} | |
body { | |
margin: 0; |