Permalink
Browse files

remove precompiled assets

  • Loading branch information...
1 parent 6a38d84 commit 896d33cbd93ebcbdf0db127acf17447301f64b7e @geraldb geraldb committed Nov 17, 2012
Showing 390 changed files with 31 additions and 240 deletions.
View
@@ -6,7 +6,7 @@ gem 'kramdown' # all ruby markdown processor/engine
gem 'rails', '3.2.1'
gem 'rails-i18n' # see https://github.com/svenfuchs/rails-i18n
-gem 'sportdb', '0.7.1' # see https://github.com/geraldb/sport.db
+gem 'sportdb', '0.8.1' # see https://github.com/geraldb/sport.db
### todo/fix: make it work w/ autoload - will sportdb/market work?
gem 'sportdb-market', '0.0.9', require: 'sportdb/market/market'
View
@@ -97,9 +97,9 @@ GEM
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
- sportdb (0.7.1)
+ sportdb (0.8.1)
activerecord (~> 3.2)
- worlddb (~> 0.2.0)
+ worlddb (~> 0.3.2)
sportdb-market (0.0.9)
sprockets (2.1.2)
hike (~> 1.2)
@@ -120,7 +120,7 @@ GEM
uglifier (1.2.3)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
- worlddb (0.2.0)
+ worlddb (0.3.2)
activerecord (~> 3.2)
PLATFORMS
@@ -139,7 +139,7 @@ DEPENDENCIES
rails-i18n
ri_cal
sass-rails (~> 3.2.3)
- sportdb (= 0.7.1)
+ sportdb (= 0.8.1)
sportdb-market (= 0.0.9)
sqlite3
thin
View
@@ -27,7 +27,7 @@ class Pool < ActiveRecord::Base
## rename to users from players??
has_many :players, :through => :plays, :source => :user
- belongs_to :event
+ belongs_to :event, :class_name => 'SportDB::Models::Event'
after_create :log_action_create
View
@@ -60,5 +60,7 @@ class Application < Rails::Application
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
+
+ config.assets.initialize_on_precompile = false
end
end
View
@@ -81,6 +81,7 @@
create_table "cities", :force => true do |t|
t.string "title", :null => false
t.string "key", :null => false
+ t.string "code"
t.string "synonyms"
t.integer "country_id", :null => false
t.integer "region_id"
@@ -94,8 +95,9 @@
create_table "countries", :force => true do |t|
t.string "title", :null => false
t.string "key", :null => false
- t.string "tag", :null => false
+ t.string "code", :null => false
t.string "synonyms"
+ t.string "motor"
t.integer "pop"
t.integer "area"
t.datetime "created_at", :null => false
@@ -119,9 +121,9 @@
t.integer "season_id", :null => false
t.datetime "start_at", :null => false
t.datetime "end_at"
+ t.boolean "team3", :default => true, :null => false
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
- t.boolean "team3", :default => true, :null => false
end
add_index "events", ["key"], :name => "index_events_on_key", :unique => true
@@ -316,11 +318,29 @@
t.datetime "updated_at", :null => false
end
+ create_table "taggings", :force => true do |t|
+ t.integer "tag_id", :null => false
+ t.integer "taggable_id"
+ t.string "taggable_type"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
+ end
+
+ add_index "taggings", ["tag_id"], :name => "index_taggings_on_tag_id"
+ add_index "taggings", ["taggable_id", "taggable_type"], :name => "index_taggings_on_taggable_id_and_taggable_type"
+
+ create_table "tags", :force => true do |t|
+ t.string "key", :null => false
+ t.string "title"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
+ end
+
create_table "teams", :force => true do |t|
t.string "title", :null => false
t.string "title2"
t.string "key", :null => false
- t.string "tag"
+ t.string "code"
t.string "synonyms"
t.integer "country_id", :null => false
t.integer "city_id"
Deleted file not rendered

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 896d33c

Please sign in to comment.