Skip to content

Instantly share code, notes, and snippets.

View andrewroth's full-sized avatar

Andrew Roth andrewroth

  • Power to Change Ministries
  • Ontario, Canada
View GitHub Profile
test
hah
ActiveRecord::StatementInvalid in InvolvementController#index
Mysql::Error: Unknown column 'summer_projects.year' in 'order clause': SELECT `summer_projects`.* FROM `summer_projects` INNER JOIN summer_project_applications ON summer_projects.id = summer_project_applications.summer_project_id WHERE ((`summer_project_applications`.person_id = 1) AND (status IN ('accepted_as_participant','accepted_as_intern'))) ORDER BY summer_projects.year desc, summer_projects.name
RAILS_ROOT: /Users/andrewroth/Development/ministry-tracker
Application Trace | Framework Trace | Full Trace
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract_adapter.rb:188:in `log'
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb:309:in `execute'
/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb:563:in `select'
+ def self.doesnt_implement_attributes(atts)
+ for at, val in atts
+ val = "''" if val.class == String && val.empty?
+ self.class_eval "def #{at}() #{val}; end"
+ self.class_eval "def #{at}=(val) throw '#{at}=(val) is not implemented' end"
+ end
+ end
--(/etc/apache2/sites-enabled)-------------------------(andrew@pat:/dev/pts/0)--
--(11:38)-- $ cat pat.powertochange.org
<VirtualHost *:80>
ServerName pat.powertochange.org
ServerAlias www.pat.powertochange.org
Redirect 301 / https://pat.powertochange.org
</VirtualHost>
<VirtualHost 192.168.240.175:443>
ServerName pat.powertochange.org
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Project Application Tool</title>
* Phusion Passenger
Ruby on Rails application could not be started
These are the possible causes:
*
There may be a syntax error in the application's code. Please check for such errors and fix them.
*
{:needs_read_login_message_confirm=>true, :login_source=>"gcx", :cas_sent_to_gateway=>true, :cas_last_valid_ticket=>#<CASClient::ServiceTicket:0x3adadec @service="http://localhost:3000/security/login", @ticket="ST-204939-msKcgxqPzjtsCoJfRhUVdXunuBeEAUmCL0r-20", @response=#<CASClient::ValidationResponse:0x3adad4c @user="ANDREWROTH@GMAIL.COM", @protocol=2.0, @pgt_iou="PGTIOU-140464-YNk7ZqpT676BXn4QkPEKlnFizjGG4mnVqrL", @extra_attributes={"lastName"=>"Roth", "ssoGuid"=>"B334BE23-AB92-0359-FF70-5479B78888D0", "firstName"=>"Andrew"}, @parse_datetime=Wed Feb 11 14:20:52 -0500 2009, @xml=<cas:authenticationSuccess> ... </>>, @renew=nil>, :previous_redirect_to_cas=>Wed Feb 11 14:20:44 -0500 2009, :cas_user=>"ANDREWROTH@GMAIL.COM", :casfilteruser=>"ANDREWROTH@GMAIL.COM", :cas_pgt=>#<CASClient::ProxyGrantingTicket:0x3ad9d20 @iou="PGTIOU-140464-YNk7ZqpT676BXn4QkPEKlnFizjGG4mnVqrL", @ticket="TGT-320935-m7canotaQ1pzz7puGZvSWEYJCXA9iOzLcKk-50">, :logo_img=>nil, :cas_validation_retry_count=>0, :user_id=>2939, :connexion_bar
{:needs_read_login_message_confirm=>true, :login_source=>"gcx", :cas_sent_to_gateway=>true, :cas_last_valid_ticket=>#<CASClient::ServiceTicket:0x3adadec @service="http://localhost:3000/security/login", @ticket="ST-204939-msKcgxqPzjtsCoJfRhUVdXunuBeEAUmCL0r-20", @response=#<CASClient::ValidationResponse:0x3adad4c @user="ANDREWROTH@GMAIL.COM", @protocol=2.0, @pgt_iou="PGTIOU-140464-YNk7ZqpT676BXn4QkPEKlnFizjGG4mnVqrL", @extra_attributes={"lastName"=>"Roth", "ssoGuid"=>"B334BE23-AB92-0359-FF70-5479B78888D0", "firstName"=>"Andrew"}, @parse_datetime=Wed Feb 11 14:20:52 -0500 2009, @xml=<cas:authenticationSuccess> ... </>>, @renew=nil>, :previous_redirect_to_cas=>Wed Feb 11 14:20:44 -0500 2009, :cas_user=>"ANDREWROTH@GMAIL.COM", :casfilteruser=>"ANDREWROTH@GMAIL.COM", :cas_pgt=>#<CASClient::ProxyGrantingTicket:0x3ad9d20 @iou="PGTIOU-140464-YNk7ZqpT676BXn4QkPEKlnFizjGG4mnVqrL", @ticket="TGT-320935-m7canotaQ1pzz7puGZvSWEYJCXA9iOzLcKk-50">, :logo_img=>nil, :cas_validation_retry_count=>0, :user_id=>2939, :connexion_bar
--(/Users/andrewroth/Development/darwine-builds/buildEnv_1.1.6/wineEnv)-----------------------------------(andrewroth@andrew-roths-macbook-pro:s002)--
--(14:42)-- $ ./build_darwine_x86.sh
##### buildDarwine => pkg-config: checking version... OK (0.23)
##### buildDarwine => lcms: checking version... OK (1.17)
##### buildDarwine => libjpeg: checking version... OK (6b)
##### buildDarwine => zlib: checking version... OK (1.2.3)
mysql> describe cim_hrdb_year_in_school;
+-----------+----------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+----------+------+-----+---------+----------------+
| year_id | int(11) | NO | PRI | NULL | auto_increment |
| year_desc | char(50) | NO | | | |
+-----------+----------+------+-----+---------+----------------+
2 rows in set (0.00 sec)
mysql> describe cim_hrdb_person_year;