Skip to content

Commit

Permalink
Moving the players link table (and presumably the hardware interface)…
Browse files Browse the repository at this point in the history
… off to an engine or something...
  • Loading branch information
August committed Apr 18, 2012
1 parent dc76b5a commit 26a79fe
Show file tree
Hide file tree
Showing 18 changed files with 9 additions and 335 deletions.
3 changes: 0 additions & 3 deletions app/assets/javascripts/players.js.coffee

This file was deleted.

3 changes: 0 additions & 3 deletions app/assets/stylesheets/players.css.scss

This file was deleted.

56 changes: 0 additions & 56 deletions app/assets/stylesheets/scaffolds.css.scss

This file was deleted.

83 changes: 0 additions & 83 deletions app/controllers/players_controller.rb

This file was deleted.

2 changes: 0 additions & 2 deletions app/helpers/players_helper.rb

This file was deleted.

2 changes: 0 additions & 2 deletions app/models/player.rb

This file was deleted.

33 changes: 0 additions & 33 deletions app/views/players/_form.html.erb

This file was deleted.

6 changes: 0 additions & 6 deletions app/views/players/edit.html.erb

This file was deleted.

29 changes: 0 additions & 29 deletions app/views/players/index.html.erb

This file was deleted.

5 changes: 0 additions & 5 deletions app/views/players/new.html.erb

This file was deleted.

25 changes: 0 additions & 25 deletions app/views/players/show.html.erb

This file was deleted.

2 changes: 0 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
Concerto::Application.routes.draw do
resources :players

#Custom route for the screen creation/admin form JS
#TODO(bamnet): Clean this up
match "update_owners" => "screens#update_owners"
Expand Down
8 changes: 8 additions & 0 deletions db/migrate/20120418142310_remove_players.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
class RemovePlayers < ActiveRecord::Migration
def up
drop_table :players
end

def down
end
end
11 changes: 1 addition & 10 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20120418012853) do
ActiveRecord::Schema.define(:version => 20120418142310) do

create_table "contents", :force => true do |t|
t.string "name"
Expand Down Expand Up @@ -76,15 +76,6 @@
t.integer "level", :default => 1
end

create_table "players", :force => true do |t|
t.string "secret"
t.string "ip_address"
t.integer "screen_id"
t.boolean "activated"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end

create_table "positions", :force => true do |t|
t.text "style"
t.decimal "top", :precision => 6, :scale => 5, :default => 0.0
Expand Down
13 changes: 0 additions & 13 deletions test/fixtures/players.yml

This file was deleted.

52 changes: 0 additions & 52 deletions test/functional/players_controller_test.rb

This file was deleted.

4 changes: 0 additions & 4 deletions test/unit/helpers/players_helper_test.rb

This file was deleted.

7 changes: 0 additions & 7 deletions test/unit/player_test.rb

This file was deleted.

0 comments on commit 26a79fe

Please sign in to comment.