Skip to content
This repository
Browse code

removed sunlight contact info

added debugging to person voting similarities
  • Loading branch information...
commit 3bc677667c52096bf57631b25136446cabff7839 1 parent 838ca08
aross authored March 20, 2012
7  app/views/contact/index.html.erb
@@ -80,12 +80,5 @@ New York, NY 10012<br />
80 80
 <script type="text/javascript">m("writeus","opencongress","org","1");</script><br />
81 81
 </p>
82 82
 
83  
-<p class="right"><a href="http://www.sunlightfoundation.com/">The Sunlight Foundation</a><br />
84  
-1818 N Street NW, Suite 410<br />
85  
-Washington, D.C. 20036<br />
86  
-202-742-1520<br />
87  
-<script type="text/javascript">m("info","sunlightfoundation","com","1");</script><br />
88  
-</p>
89  
-
90 83
 <p class="clear">Thanks for visiting Open Congress. Let us know what you think!</p>  
91 84
 <br /><br />
8  bin/daily/person_voting_similarities.rb
@@ -29,12 +29,12 @@
29 29
   
30 30
     if top_votes_with && top_votes_with[0]
31 31
       p.person_stats.votes_most_often_with = top_votes_with[0]
32  
-      #puts "#{p.name} votes most often with #{top_votes_with[0].name}"
  32
+      puts "#{p.name} votes most often with #{top_votes_with[0].name}"
33 33
     end
34 34
   
35 35
     if top_votes_apart && top_votes_apart[0]
36 36
       p.person_stats.votes_least_often_with = top_votes_apart[0]
37  
-      #puts "#{p.name} votes least often with #{top_votes_apart[0].name}"
  37
+      puts "#{p.name} votes least often with #{top_votes_apart[0].name}"
38 38
     end
39 39
   
40 40
     if p.belongs_to_major_party?
@@ -43,12 +43,12 @@
43 43
 
44 44
       if top_other_with
45 45
         p.person_stats.opposing_party_votes_most_often_with = top_other_with
46  
-        #puts "#{p.name} opposite votes most often with #{top_other_with.name}"
  46
+        puts "#{p.name} opposite votes most often with #{top_other_with.name}"
47 47
       end
48 48
     
49 49
       if top_same_apart
50 50
         p.person_stats.same_party_votes_least_often_with = top_same_apart
51  
-        #puts "#{p.name} same votes least often with #{top_same_apart.name}"
  51
+        puts "#{p.name} same votes least often with #{top_same_apart.name}"
52 52
       end
53 53
     end
54 54
   

0 notes on commit 3bc6776

Please sign in to comment.
Something went wrong with that request. Please try again.