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
==== Number of New Users ====
September 2009, 3
October 2009, 15
November 2009, 24
December 2009, 28
January 2010, 210
February 2010, 631
March 2010, 1031
April 2010, 539
May 2010, 196
243,852 contacts have been entered by 8,926 people, for an average of 27 contacts per person
our summer interns did some work to it over the summer adding a couple new features
and in Dec we're gonna hook it up properly to our donations system so students can see who gave and how much.
==== Number of New Users ====
September 2009: 3
October 2009: 15
November 2009: 24
December 2009: 28
January 2010: 210
out = ""
out += "\n==== Number of New Users ====\n"
curr_month = Date.parse("2009-09-01")
for i in (1..13)
next_month = curr_month + 1.month
mpd_users = MpdUser.find(:all, :conditions => [ "created_at >= ? AND created_at < ?", curr_month, next_month ])
out += "#{curr_month.strftime('%B %Y')}, #{mpd_users.length}\n"
curr_month = next_month
end
1) Error:
test_show(GroupsControllerTest):
NoMethodError: private method `desc' called for nil:NilClass
app/controllers/groups_controller.rb:95:in `show'
/test/functional/groups_controller_test.rb:48:in `test_show'
2) Error:
test_set_initial_campus(PeopleControllerTest):
NoMethodError: undefined method `country' for nil:NilClass
lib/person_form.rb:13:in `setup_campuses'
irb(main):001:0> def link_to_remote(name, options = {}, html_options = nil)
irb(main):002:1> puts "link_to_remote name=#{name.inspect} option=#{options.inspect} html_options=#{html_options.inspect}"
irb(main):003:1> end
=> nil
irb(main):004:0> link_to_remote "cbc", :url => "cbc.ca"
link_to_remote name="cbc" option={:url=>"cbc.ca"} html_options=nil
=> nil
irb(main):005:0> link_to_remote "cbc", :url => "cbc.ca", :class => "button_styling"
link_to_remote name="cbc" option={:class=>"button_styling", :url=>"cbc.ca"} html_options=nil
=> nil
db schema:
Form
archived
permanent
name
Review
name (override form name?)
subject_id
for fid in (293..297)
f = Form.find fid
f.event_group_id = 75
f.save!
end
q = FormQuestionnaire.find_by_title("2011 Spring / Summer Placement Questionnaire") || FormQuestionnaire.new
q.id = 299
q.save!
--(/home/deploy)-------------------------------------------------------------------------------------(deploy@pat:/dev/pts/0)--
--(11:00)-- $ sudo grep 184.73.174.75 /var/log/apache2/access.log
184.73.174.75 - - [24/Sep/2010:10:36:29 -0400] "GET /w00tw00t.at.blackhats.romanian.anti-sec:) HTTP/1.1" 500 24060
184.73.174.75 - - [24/Sep/2010:10:36:29 -0400] "GET /w00tw00t.at.blackhats.romanian.anti-sec:) HTTP/1.1" 500 24060
184.73.174.75 - - [24/Sep/2010:10:36:34 -0400] "GET /scripts/setup.php HTTP/1.1" 500 24060
184.73.174.75 - - [24/Sep/2010:10:36:41 -0400] "GET /scripts/setup.php HTTP/1.1" 500 24060
184.73.174.75 - - [24/Sep/2010:10:36:44 -0400] "GET /admin/scripts/setup.php HTTP/1.1" 500 24060
184.73.174.75 - - [24/Sep/2010:10:36:45 -0400] "GET /admin/scripts/setup.php HTTP/1.1" 500 24060
184.73.174.75 - - [24/Sep/2010:10:36:46 -0400] "GET /admin/pma/scripts/setup.php HTTP/1.1" 500 24060
184.73.174.75 - - [24/Sep/2010:10:36:46 -0400] "GET /admin/pma/scripts/setup.php HTTP/1.1" 500 24060
LocalJumpError in UnitsController#index
no block given
RAILS_ROOT: /Users/andrewroth/Development/your-empire
Application Trace | Framework Trace | Full Trace
/Users/andrewroth/Development/your-empire/pg/ruby/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:2178:in `with_scope'
/Users/andrewroth/Development/your-empire/pg/ruby/1.8/gems/activerecord-2.3.8/lib/active_record/associations/association_proxy.rb:207:in `send'
/Users/andrewroth/Development/your-empire/pg/ruby/1.8/gems/activerecord-2.3.8/lib/active_record/associations/association_proxy.rb:207:in `with_scope'
Ryan Strandt - Missional Team Leader http://mt.int.uscm.org/people/100855
Kristin Madeja - Missional Team Member http://mt.int.uscm.org/people/135045
Michele Carlson - Student http://mt.int.uscm.org/people/730551
Steve Steiner - Student Leader http://mt.int.uscm.org/people/904623