Skip to content

Commit

Permalink
remove unneeded original_id from geo countries, put in org filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Hansen committed Aug 26, 2010
1 parent a00bc10 commit 4dd5889
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions app/controllers/organizations_controller.rb
@@ -1,8 +1,8 @@
class OrganizationsController < ApplicationController
include FluxxOrganizationsController
insta_index Organization do |insta|
insta.pre do |conf, controller|
p "ESH: have params=#{controller.params.inspect}"
end

base.insta_index Organization do |insta|
insta.filter_title = "Organizations Filter"
insta.filter_template = 'organizations/organization_filter'
end
end
Expand Up @@ -5,7 +5,6 @@ def self.up
t.string :name, :limit => 90, :null => false
t.string :fips104, :iso2, :iso3, :ison, :internet, :capital, :map_reference, :nationality_singular, :nationality_plural, :currency, :currency_code, :population, :title, :limit => 90, :null => true
t.text :comment, :null => true
t.integer :original_id, :limit => 12, :null => false # The original record ID supplied by maxmind
end
add_index :geo_countries, :name, :name => 'country_name_index'
add_index :geo_countries, :iso2, :name => 'country_iso2_index'
Expand Down

0 comments on commit 4dd5889

Please sign in to comment.