Conversation
| # It's strongly recommended that you check this file into your version control system. | ||
|
|
||
| ActiveRecord::Schema.define(:version => 20131114172742) do | ||
| ActiveRecord::Schema.define(version: 20170525130552) do |
There was a problem hiding this comment.
Separate every 3 digits in the integer portion of a number with underscores(_).
| # you'll amass, the slower it'll run and the greater likelihood for issues). | ||
| # | ||
| # It's strongly recommended to check this file into your version control system. | ||
| # It's strongly recommended that you check this file into your version control system. |
There was a problem hiding this comment.
Line is too long. [86/80]
| # | ||
| # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) | ||
| # Mayor.create(name: 'Emanuel', city: cities.first) | ||
| # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) |
There was a problem hiding this comment.
Line is too long. [81/80]
| @@ -1,7 +1,7 @@ | |||
| # This file should contain all the record creation needed to seed the database with its default values. | |||
| # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). | |||
| # The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup). | |||
There was a problem hiding this comment.
Line is too long. [111/80]
| name Random.alphanumeric | ||
| description Random.paragraphs(1) | ||
| api_key '69704d90-4b77-012f-c334-68a86d3dfd02' | ||
| secret '1e5483d9c6ddbe2f26eecf444ec7a976b2836ab17a209a0940f4dfdee1b3bc93' |
There was a problem hiding this comment.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
| @@ -1,11 +1,12 @@ | |||
| class CreateRestClient < ActiveRecord::Migration | |||
| class CreateRestClient < ActiveRecord::Migration[5.1] | |||
There was a problem hiding this comment.
Missing frozen string literal comment.
| threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 } | ||
| threads threads_count, threads_count | ||
|
|
||
| # Specifies the `port` that Puma will listen on to receive requests; default is 3000. |
There was a problem hiding this comment.
Line is too long. [85/80]
| @@ -0,0 +1,56 @@ | |||
| # Puma can serve each request in a thread from an internal thread pool. | |||
There was a problem hiding this comment.
Missing frozen string literal comment.
| # Add additional assets to the asset load path. | ||
| # Rails.application.config.assets.paths << Emoji.images_path | ||
| # Add Yarn node_modules folder to the asset load path. | ||
| Rails.application.config.assets.paths << Rails.root.join('node_modules') |
There was a problem hiding this comment.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
| # Be sure to restart your server when you modify this file. | ||
|
|
||
| # Version of your assets, change this if you want to expire all your assets. | ||
| Rails.application.config.assets.version = '1.0' |
There was a problem hiding this comment.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Updated to support Rails 5.