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
NoMethodError in Base#footer_content | |
Showing vendor/plugins/community_engine/app/views/activities/_activity.html.haml where line #5 raised: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.include? | |
Extracted source (around line #5): | |
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
>> ra.each {|r| p [r.user.login.capitalize, r.user.login_slug] } | |
["[email protected]", "kristina-wallace-gmail-com"] | |
["Wallace", "wallace"] | |
["[email protected]", "kristina-wallace-gmail-com"] | |
["Wallace", "wallace"] | |
["Wallace", "wallace"] | |
["Wallace", "wallace"] | |
["[email protected]", "kristina-wallace-gmail-com"] |
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
#run on command line with 'god -c backgroundrb.god -D' | |
RAILS_ROOT = '/var/www/rails/rollbook/current' | |
#load required rails and backgroundrb files | |
require File.dirname(__FILE__) + '/../boot' | |
require File.dirname(__FILE__) + '/../environment' | |
require 'erb' | |
$LOAD_PATH << "#{RAILS_ROOT}/vendor/plugins/backgroundrb/lib" | |
require "#{RAILS_ROOT}/vendor/plugins/backgroundrb/lib/backgroundrb.rb" | |
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
~/rubygc/ruby-1.8.7-p72 | |
5014 ruby-1.8.7-p72 % curl http://rubyforge.org/tracker/download.php/1814/7062/17676/3291/ruby186gc.patch | patch -p0 jonathanwallace ttys012 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 18306 0 18306 0 0 66660 0 --:--:-- --:--:-- --:--:-- 146k | |
patching file gc.c | |
Hunk #2 succeeded at 50 with fuzz 2 (offset 2 lines). | |
Hunk #3 succeeded at 87 with fuzz 2 (offset 6 lines). | |
Hunk #4 succeeded at 153 with fuzz 1 (offset 45 lines). | |
Hunk #5 succeeded at 409 with fuzz 2 (offset 274 lines). |
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
5033 ruby-1.8.7-p72 % mv 340cbf7b137769796626.txt new_patch jonathanwallace ttys012 | |
~/rubygc/ruby-1.8.7-p72 | |
5034 ruby-1.8.7-p72 % cat new_patch | patch -p0 jonathanwallace ttys012 | |
(Stripping trailing CRs from patch.) | |
patching file intern.h | |
Hunk #1 succeeded at 267 (offset 1 line). | |
(Stripping trailing CRs from patch.) | |
patching file gc.c | |
Hunk #3 succeeded at 87 with fuzz 2 (offset 2 lines). | |
Hunk #4 succeeded at 153 (offset 6 lines). |
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
1 Thread ID: 26144970 | |
2 Total: 7120.856445 | |
3 | |
4 %self total self wait child calls name | |
5 252980784654538.81 0.00 18014398509474864.00 0.00 7120.86 1 IntegrationsController#run_queue_next_job (/Users/jonathanwallace/Documents/projects/rollbook/app | |
6 17.76 1264.92 1264.92 0.00 0.00 121 Kernel#caller (ruby_runtime:0} | |
7 14.84 1068.90 1056.62 0.00 12.29 125 Module#define_method (ruby_runtime:0} | |
8 9.24 658.17 658.17 0.00 0.00 86 Symbol#to_proc (ruby_runtime:0} | |
9 5.70 405.70 405.70 0.00 0.00 252 Module#constants (ruby_runtime:0} | |
10 3.20 1017.70 227.84 0.00 789.85 41 ActiveRecord::ConnectionAdapters::AbstractAdapter#log (/Users/jonathanwallace/Documents/projects/rollbook/vendor/plugins/ |
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
Index: intern.h | |
=================================================================== | |
--- intern.h (revision 22918) | |
+++ intern.h (working copy) | |
@@ -268,6 +268,15 @@ | |
VALUE rb_gc_enable _((void)); | |
VALUE rb_gc_disable _((void)); | |
VALUE rb_gc_start _((void)); | |
+VALUE rb_gc_enable_stats _((void)); | |
+VALUE rb_gc_disable_stats _((void)); |
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
5019 rollbook:rb_prof_curr_roll_up!? % sudo port install kcachegrind jonathanwallace ttys007 | |
---> Fetching qt3 | |
---> Verifying checksum(s) for qt3 | |
---> Extracting qt3 | |
---> Configuring qt3 | |
---> Building qt3 | |
Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_qt3/work/qt-x11-free-3.3.8 && ./CompileScript.sh" returned error 101 | |
Command output: Usage: head [-options] <url>... | |
-m <method> use method for the request (default is 'HEAD') | |
-f make request even if head believes method is illegal |
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
5122 projects % git clone git://github.com/drogus/apache-upload-progress-module.git jonathanwallace ttys003 | |
Initialized empty Git repository in /Users/jonathanwallace/Documents/projects/apache-upload-progress-module/.git/ | |
remote: Counting objects: 131, done. | |
remote: Compressing objects: 100% (60/60), done. | |
remote: Total 131 (delta 77), reused 116 (delta 69) | |
Receiving objects: 100% (131/131), 20.50 KiB, done. | |
Resolving deltas: 100% (77/77), done. | |
~/Documents/projects | |
5123 projects % cd apache-upload-progress-module jonathanwallace ttys003 | |
~/Documents/projects/apache-upload-progress-module on master(f318ec5) tracking origin/master |
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
1 diff --git a/app/models/enrollment.rb b/app/models/enrollment.rb | |
2 index 15b88ac..db503c5 100644 | |
3 --- a/app/models/enrollment.rb | |
4 +++ b/app/models/enrollment.rb | |
5 @@ -369,9 +369,14 @@ class Enrollment < ActiveRecord::Base | |
6 unless match_a.nil? | |
7 # we can take the first match, because we ordered by compelted date and then enrolled date | |
8 match = Hash[*course_enrollments_resp.fields.zip(match_a).flatten] | |
9 + | |
10 + |
OlderNewer