<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -36,13 +36,6 @@ class Location &lt; ActiveRecord::Base
       :include =&gt; {:geocode =&gt; {:only =&gt; [:latitude, :longitude]}}}})
   end
   
-  # inefficient method for cities
-  def city_info
-    locations = Location.all(:select =&gt; 'signs', :conditions =&gt; {:city =&gt; self.city, :state =&gt; self.state})
-    info = locations.group_by(&amp;:signs).max{|a,b| a[1].size &lt;=&gt; b[1].size}[1][0]
-    {:signs =&gt; info.signs, :count =&gt; locations.size}
-  end
-  
   def self.city_count 
     count(:select =&gt; 'DISTINCT(city)')
   end</diff>
      <filename>app/models/location.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>app/controllers/cities_controller.rb</filename>
    </removed>
    <removed>
      <filename>app/helpers/cities_helper.rb</filename>
    </removed>
    <removed>
      <filename>public/javascripts/markermanager_packed.js</filename>
    </removed>
    <removed>
      <filename>spec/controllers/cities_controller_spec.rb</filename>
    </removed>
    <removed>
      <filename>spec/helpers/cities_helper_spec.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>08e2b358c410abbb852fc7f055385ed0a984630b</id>
    </parent>
  </parents>
  <author>
    <name>Daniel Morrison</name>
    <email>daniel@collectiveidea.com</email>
  </author>
  <url>http://github.com/collectiveidea/yardvote.com/commit/97708cb30e62880a21094047fed9e93beb6d0396</url>
  <id>97708cb30e62880a21094047fed9e93beb6d0396</id>
  <committed-date>2008-10-20T19:12:36-07:00</committed-date>
  <authored-date>2008-10-09T20:58:29-07:00</authored-date>
  <message>Removing unused files.</message>
  <tree>145765304305b6dcc0b75826627032661678e155</tree>
  <committer>
    <name>Daniel Morrison</name>
    <email>daniel@collectiveidea.com</email>
  </committer>
</commit>
