Iker Narvaez

Merge branch 'master' of git.ukko.mx:psanchezp/quiniela-mundial

...@@ -40,6 +40,7 @@ gem 'jbuilder', '~> 2.5' ...@@ -40,6 +40,7 @@ gem 'jbuilder', '~> 2.5'
40 40
41 # Use Capistrano for deployment 41 # Use Capistrano for deployment
42 # gem 'capistrano-rails', group: :development 42 # gem 'capistrano-rails', group: :development
43 +gem 'slim'
43 44
44 group :development, :test do 45 group :development, :test do
45 # Call 'byebug' anywhere in the code to stop execution and get a debugger console 46 # Call 'byebug' anywhere in the code to stop execution and get a debugger console
......
...@@ -237,6 +237,7 @@ DEPENDENCIES ...@@ -237,6 +237,7 @@ DEPENDENCIES
237 puma (~> 3.0) 237 puma (~> 3.0)
238 rails (~> 5.0.6) 238 rails (~> 5.0.6)
239 sass-rails (~> 5.0) 239 sass-rails (~> 5.0)
240 + slim
240 spring 241 spring
241 spring-watcher-listen (~> 2.0.0) 242 spring-watcher-listen (~> 2.0.0)
242 turbolinks (~> 5) 243 turbolinks (~> 5)
......
...@@ -15,7 +15,7 @@ ActiveRecord::Schema.define(version: 20180608221342) do ...@@ -15,7 +15,7 @@ ActiveRecord::Schema.define(version: 20180608221342) do
15 # These are extensions that must be enabled in order to support this database 15 # These are extensions that must be enabled in order to support this database
16 enable_extension "plpgsql" 16 enable_extension "plpgsql"
17 17
18 - create_table "bet", force: :cascade do |t| 18 + create_table "bets", force: :cascade do |t|
19 t.integer "match_id", null: false 19 t.integer "match_id", null: false
20 t.integer "user_id", null: false 20 t.integer "user_id", null: false
21 t.integer "score_local", null: false 21 t.integer "score_local", null: false
...@@ -42,7 +42,7 @@ ActiveRecord::Schema.define(version: 20180608221342) do ...@@ -42,7 +42,7 @@ ActiveRecord::Schema.define(version: 20180608221342) do
42 t.index ["deleted_at"], name: "index_heimdall_engine_roles_on_deleted_at", using: :btree 42 t.index ["deleted_at"], name: "index_heimdall_engine_roles_on_deleted_at", using: :btree
43 end 43 end
44 44
45 - create_table "match", force: :cascade do |t| 45 + create_table "matches", force: :cascade do |t|
46 t.string "local", null: false 46 t.string "local", null: false
47 t.string "visit", null: false 47 t.string "visit", null: false
48 t.date "date", null: false 48 t.date "date", null: false
...@@ -52,7 +52,7 @@ ActiveRecord::Schema.define(version: 20180608221342) do ...@@ -52,7 +52,7 @@ ActiveRecord::Schema.define(version: 20180608221342) do
52 t.integer "pool_id", null: false 52 t.integer "pool_id", null: false
53 end 53 end
54 54
55 - create_table "pool", force: :cascade do |t| 55 + create_table "pools", force: :cascade do |t|
56 t.string "name", null: false 56 t.string "name", null: false
57 t.datetime "editable_until", null: false 57 t.datetime "editable_until", null: false
58 t.boolean "active" 58 t.boolean "active"
......