Debian Codegraph @

fmts/testdata/rubocop.in

raw
1 Inspecting 55 files
2 C.CCCCCC.C.CCCCCCCWCCC.C...CCCCCCC.WWWC.CCC.C.C....CCCC
3
4 Offenses:
5
6 Gemfile:4:1: C: Extra blank line detected.
7 Gemfile:50:81: C: Line is too long. [83/80]
8 # Call 'byebug' anywhere in the code to stop execution and get a debugger console
9 ^^^
10 Gemfile:56:81: C: Line is too long. [130/80]
11 # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
12 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 Gemfile:59:1: C: 1 trailing blank lines detected.
14 Rakefile:2:81: C: Line is too long. [90/80]
15 # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
16 ^^^^^^^^^^
17 app/helpers/application_helper.rb:1:1: C: Missing top-level module documentation comment.
18 module ApplicationHelper
19 ^^^^^^
20 app/helpers/welcome_helper.rb:1:1: C: Missing top-level module documentation comment.
21 module WelcomeHelper
22 ^^^^^^
23 app/helpers/users_helper.rb:1:1: C: Missing top-level module documentation comment.
24 module UsersHelper
25 ^^^^^^
26 app/helpers/collections_helper.rb:1:1: C: Missing top-level module documentation comment.
27 module CollectionsHelper
28 ^^^^^^
29 app/helpers/texts_helper.rb:1:1: C: Missing top-level module documentation comment.
30 module TextsHelper
31 ^^^^^^
32 app/views/collections/show.json.jbuilder:1:81: C: Line is too long. [88/80]
33 json.extract! @collection, :id, :title, :description, :user_id, :created_at, :updated_at
34 ^^^^^^^^
35 app/views/texts/show.json.jbuilder:1:81: C: Line is too long. [95/80]
36 json.extract! @text, :id, :title, :body, :description, :collection_id, :created_at, :updated_at
37 ^^^^^^^^^^^^^^^
38 app/controllers/texts_controller.rb:1:1: C: Missing top-level class documentation comment.
39 class TextsController < ApplicationController
40 ^^^^^
41 app/controllers/texts_controller.rb:28:81: C: Line is too long. [118/80]
42 format.html { redirect_to user_collection_path(@user, @collection), notice: 'Text was successfully created.' }
43 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44 app/controllers/texts_controller.rb:42:81: C: Line is too long. [130/80]
45 format.html { redirect_to user_collection_text_path(@user, @collection, @text), notice: 'Text was successfully updated.' }
46 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
47 app/controllers/texts_controller.rb:56:81: C: Line is too long. [117/80]
48 format.html { redirect_to user_collection_url(@user, @collection), notice: 'Text was successfully destroyed.' }
49 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50 app/controllers/texts_controller.rb:61:3: C: Keep a blank line before and after private.
51 private
52 ^^^^^^^
53 app/controllers/texts_controller.rb:63:5: C: Inconsistent indentation detected.
54 def set_text ...
55 ^^^^^^^^^^^^
56 app/controllers/texts_controller.rb:67:81: C: Line is too long. [88/80]
57 # Never trust parameters from the scary internet, only allow the white list through.
58 ^^^^^^^^
59 app/controllers/texts_controller.rb:68:5: C: Inconsistent indentation detected.
60 def text_params ...
61 ^^^^^^^^^^^^^^^
62 app/controllers/texts_controller.rb:72:5: C: Inconsistent indentation detected.
63 def set_collection ...
64 ^^^^^^^^^^^^^^^^^^
65 app/controllers/texts_controller.rb:76:5: C: Inconsistent indentation detected.
66 def set_user ...
67 ^^^^^^^^^^^^
68 app/controllers/texts_controller.rb:80:5: C: Inconsistent indentation detected.
69 def authenticate_user ...
70 ^^^^^^^^^^^^^^^^^^^^^
71 app/controllers/texts_controller.rb:82:7: C: Use a guard clause instead of wrapping the code inside a conditional expression.
72 if @user != current_user
73 ^^
74 app/controllers/welcome_controller.rb:1:1: C: Missing top-level class documentation comment.
75 class WelcomeController < ApplicationController
76 ^^^^^
77 app/controllers/welcome_controller.rb:9:3: C: Keep a blank line before and after private.
78 private
79 ^^^^^^^
80 app/controllers/welcome_controller.rb:10:5: C: Inconsistent indentation detected.
81 def set_newest_collections ...
82 ^^^^^^^^^^^^^^^^^^^^^^^^^^
83 app/controllers/welcome_controller.rb:11:46: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
84 @newest_collections = Collection.order("created_at DESC").limit(10)
85 ^^^^^^^^^^^^^^^^^
86 app/controllers/collections_controller.rb:1:1: C: Missing top-level class documentation comment.
87 class CollectionsController < ApplicationController
88 ^^^^^
89 app/controllers/collections_controller.rb:25:20: C: Space missing inside {.
90 format.json {render :json => @collection.as_json(:include => :texts)}
91 ^
92 app/controllers/collections_controller.rb:25:27: C: Use the new Ruby 1.9 hash syntax.
93 format.json {render :json => @collection.as_json(:include => :texts)}
94 ^^^^^^^^
95 app/controllers/collections_controller.rb:25:56: C: Use the new Ruby 1.9 hash syntax.
96 format.json {render :json => @collection.as_json(:include => :texts)}
97 ^^^^^^^^^^^
98 app/controllers/collections_controller.rb:25:75: C: Space missing inside }.
99 format.json {render :json => @collection.as_json(:include => :texts)}
100 ^
101 app/controllers/collections_controller.rb:35:3: C: Assignment Branch Condition size for create is too high. [15.07/15]
102 def create
103 ^^^
104 app/controllers/collections_controller.rb:40:81: C: Line is too long. [135/80]
105 format.html { redirect_to user_collection_path(@collection.user, @collection), notice: 'Collection was successfully created.' }
106 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
107 app/controllers/collections_controller.rb:44:81: C: Line is too long. [86/80]
108 format.json { render json: @collection.errors, status: :unprocessable_entity }
109 ^^^^^^
110 app/controllers/collections_controller.rb:54:81: C: Line is too long. [135/80]
111 format.html { redirect_to user_collection_path(@collection.user, @collection), notice: 'Collection was successfully updated.' }
112 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
113 app/controllers/collections_controller.rb:58:81: C: Line is too long. [86/80]
114 format.json { render json: @collection.errors, status: :unprocessable_entity }
115 ^^^^^^
116 app/controllers/collections_controller.rb:68:81: C: Line is too long. [104/80]
117 format.html { redirect_to user_collections_url, notice: 'Collection was successfully destroyed.' }
118 ^^^^^^^^^^^^^^^^^^^^^^^^
119 app/controllers/collections_controller.rb:73:3: C: Keep a blank line before and after private.
120 private
121 ^^^^^^^
122 app/controllers/collections_controller.rb:75:5: C: Inconsistent indentation detected.
123 def set_collection ...
124 ^^^^^^^^^^^^^^^^^^
125 app/controllers/collections_controller.rb:79:81: C: Line is too long. [88/80]
126 # Never trust parameters from the scary internet, only allow the white list through.
127 ^^^^^^^^
128 app/controllers/collections_controller.rb:80:5: C: Inconsistent indentation detected.
129 def collection_params ...
130 ^^^^^^^^^^^^^^^^^^^^^
131 app/controllers/collections_controller.rb:84:5: C: Inconsistent indentation detected.
132 def set_user ...
133 ^^^^^^^^^^^^
134 app/controllers/collections_controller.rb:88:5: C: Inconsistent indentation detected.
135 def authenticate_user ...
136 ^^^^^^^^^^^^^^^^^^^^^
137 app/controllers/collections_controller.rb:90:7: C: Use a guard clause instead of wrapping the code inside a conditional expression.
138 if @user != current_user
139 ^^
140 app/controllers/application_controller.rb:1:1: C: Missing top-level class documentation comment.
141 class ApplicationController < ActionController::Base
142 ^^^^^
143 app/controllers/application_controller.rb:11:81: C: Line is too long. [129/80]
144 devise_parameter_sanitizer.for(:sign_up) { |u| u.permit(:username, :email, :password, :password_confirmation, :remember_me) }
145 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
146 app/controllers/application_controller.rb:12:81: C: Line is too long. [113/80]
147 devise_parameter_sanitizer.for(:sign_in) { |u| u.permit(:login, :username, :email, :password, :remember_me) }
148 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
149 app/controllers/application_controller.rb:13:81: C: Line is too long. [141/80]
150 devise_parameter_sanitizer.for(:account_update) { |u| u.permit(:username, :email, :password, :password_confirmation, :current_password) }
151 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
152 app/controllers/users_controller.rb:1:1: C: Missing top-level class documentation comment.
153 class UsersController < ApplicationController
154 ^^^^^
155 app/controllers/users_controller.rb:11:3: C: Keep a blank line before and after private.
156 private
157 ^^^^^^^
158 app/controllers/users_controller.rb:13:5: C: Inconsistent indentation detected.
159 def set_user ...
160 ^^^^^^^^^^^^
161 app/models/text.rb:1:1: C: Missing top-level class documentation comment.
162 class Text < ActiveRecord::Base
163 ^^^^^
164 app/models/text.rb:5:5: C: Align the parameters of a method call if they span more than one line.
165 :presence => true, ...
166 ^^^^^^^^^^^^^^^^^^
167 app/models/text.rb:5:5: C: Use the new Ruby 1.9 hash syntax.
168 :presence => true,
169 ^^^^^^^^^^^^
170 app/models/text.rb:6:5: C: Use the new Ruby 1.9 hash syntax.
171 :uniqueness => {
172 ^^^^^^^^^^^^^^
173 app/models/text.rb:7:7: C: Use the new Ruby 1.9 hash syntax.
174 :scope => [:collection_id],
175 ^^^^^^^^^
176 app/models/text.rb:8:7: C: Use the new Ruby 1.9 hash syntax.
177 :case_sensitive => false
178 ^^^^^^^^^^^^^^^^^^
179 app/models/text.rb:11:20: C: Use the new Ruby 1.9 hash syntax.
180 validates :body, :presence => true
181 ^^^^^^^^^^^^
182 app/models/text.rb:14:5: C: Redundant self detected.
183 self.find_by_title(query) || super(query)
184 ^^^^^^^^^^^^^^^^^^^^^^^^^
185 app/models/text.rb:18:5: C: Prefer to_s over string interpolation.
186 "#{self.title}"
187 ^^^^^^^^^^^^^^^
188 app/models/text.rb:18:8: C: Redundant self detected.
189 "#{self.title}"
190 ^^^^^^^^^^
191 app/models/user.rb:1:1: C: Missing top-level class documentation comment.
192 class User < ActiveRecord::Base
193 ^^^^^
194 app/models/user.rb:3:20: C: Use the new Ruby 1.9 hash syntax.
195 has_many :texts, :through => :collections
196 ^^^^^^^^^^^
197 app/models/user.rb:9:10: C: Use the new Ruby 1.9 hash syntax.
198 :authentication_keys => [:login]
199 ^^^^^^^^^^^^^^^^^^^^^^^
200 app/models/user.rb:16:5: C: Align the parameters of a method call if they span more than one line.
201 :presence => true, ...
202 ^^^^^^^^^^^^^^^^^^
203 app/models/user.rb:16:5: C: Use the new Ruby 1.9 hash syntax.
204 :presence => true,
205 ^^^^^^^^^^^^
206 app/models/user.rb:17:5: C: Use the new Ruby 1.9 hash syntax.
207 :uniqueness => {
208 ^^^^^^^^^^^^^^
209 app/models/user.rb:18:7: C: Use the new Ruby 1.9 hash syntax.
210 :case_sensitive => false
211 ^^^^^^^^^^^^^^^^^^
212 app/models/user.rb:23:14: W: Assignment in condition - you probably meant to use ==.
213 if login = conditions.delete(:login)
214 ^
215 app/models/user.rb:24:40: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
216 where(conditions.to_hash).where(["lower(username) = :value OR lower(email) = :value", { :value => login.downcase }]).first
217 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
218 app/models/user.rb:24:81: C: Line is too long. [128/80]
219 where(conditions.to_hash).where(["lower(username) = :value OR lower(email) = :value", { :value => login.downcase }]).first
220 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
221 app/models/user.rb:24:95: C: Use the new Ruby 1.9 hash syntax.
222 where(conditions.to_hash).where(["lower(username) = :value OR lower(email) = :value", { :value => login.downcase }]).first
223 ^^^^^^^^^
224 app/models/user.rb:31:5: C: Redundant self detected.
225 self.find_by_username(query) || super(query)
226 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
227 app/models/user.rb:35:5: C: Prefer to_s over string interpolation.
228 "#{self.username}"
229 ^^^^^^^^^^^^^^^^^^
230 app/models/user.rb:35:8: C: Redundant self detected.
231 "#{self.username}"
232 ^^^^^^^^^^^^^
233 app/models/user.rb:38:1: C: 1 trailing blank lines detected.
234 app/models/collection.rb:1:1: C: Missing top-level class documentation comment.
235 class Collection < ActiveRecord::Base
236 ^^^^^
237 app/models/collection.rb:7:5: C: Align the parameters of a method call if they span more than one line.
238 :presence => true, ...
239 ^^^^^^^^^^^^^^^^^^
240 app/models/collection.rb:7:5: C: Use the new Ruby 1.9 hash syntax.
241 :presence => true,
242 ^^^^^^^^^^^^
243 app/models/collection.rb:8:5: C: Use the new Ruby 1.9 hash syntax.
244 :uniqueness => {
245 ^^^^^^^^^^^^^^
246 app/models/collection.rb:9:7: C: Use the new Ruby 1.9 hash syntax.
247 :scope => [:user_id],
248 ^^^^^^^^^
249 app/models/collection.rb:10:7: C: Use the new Ruby 1.9 hash syntax.
250 :case_sensitive => false
251 ^^^^^^^^^^^^^^^^^^
252 app/models/collection.rb:12:5: C: Use the new Ruby 1.9 hash syntax.
253 :exclusion => {
254 ^^^^^^^^^^^^^
255 app/models/collection.rb:14:7: C: Use the new Ruby 1.9 hash syntax.
256 :in => %w(new),
257 ^^^^^^
258 app/models/collection.rb:15:7: C: Use the new Ruby 1.9 hash syntax.
259 :message => "You cannot use %{value} because it's a reserved word"
260 ^^^^^^^^^^^
261 app/models/collection.rb:19:5: C: Redundant self detected.
262 self.find_by_title(query) || super(query)
263 ^^^^^^^^^^^^^^^^^^^^^^^^^
264 app/models/collection.rb:23:5: C: Prefer to_s over string interpolation.
265 "#{self.title}"
266 ^^^^^^^^^^^^^^^
267 app/models/collection.rb:23:8: C: Redundant self detected.
268 "#{self.title}"
269 ^^^^^^^^^^
270 app/models/collection.rb:28:81: C: Line is too long. [90/80]
271 Collection.where(['title LIKE ? or description LIKE ?', "%#{query}%", "%#{query}%"])
272 ^^^^^^^^^^
273 test/controllers/collections_controller_test.rb:8:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
274 test "should get index" do
275 ^^^^^^^^^^^^^^^^^^
276 test/controllers/collections_controller_test.rb:14:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
277 test "should get new" do
278 ^^^^^^^^^^^^^^^^
279 test/controllers/collections_controller_test.rb:19:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
280 test "should create collection" do
281 ^^^^^^^^^^^^^^^^^^^^^^^^^^
282 test/controllers/collections_controller_test.rb:21:81: C: Line is too long. [128/80]
283 post :create, collection: { description: @collection.description, title: @collection.title, user_id: @collection.user_id }
284 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
285 test/controllers/collections_controller_test.rb:27:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
286 test "should show collection" do
287 ^^^^^^^^^^^^^^^^^^^^^^^^
288 test/controllers/collections_controller_test.rb:32:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
289 test "should get edit" do
290 ^^^^^^^^^^^^^^^^^
291 test/controllers/collections_controller_test.rb:37:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
292 test "should update collection" do
293 ^^^^^^^^^^^^^^^^^^^^^^^^^^
294 test/controllers/collections_controller_test.rb:38:81: C: Line is too long. [144/80]
295 patch :update, id: @collection, collection: { description: @collection.description, title: @collection.title, user_id: @collection.user_id }
296 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
297 test/controllers/collections_controller_test.rb:42:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
298 test "should destroy collection" do
299 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
300 test/controllers/users_controller_test.rb:4:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
301 test "should get show" do
302 ^^^^^^^^^^^^^^^^^
303 test/controllers/users_controller_test.rb:8:1: C: Extra empty line detected at class body end.
304 test/controllers/texts_controller_test.rb:8:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
305 test "should get index" do
306 ^^^^^^^^^^^^^^^^^^
307 test/controllers/texts_controller_test.rb:14:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
308 test "should get new" do
309 ^^^^^^^^^^^^^^^^
310 test/controllers/texts_controller_test.rb:19:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
311 test "should create text" do
312 ^^^^^^^^^^^^^^^^^^^^
313 test/controllers/texts_controller_test.rb:21:81: C: Line is too long. [134/80]
314 post :create, text: { body: @text.body, collection_id: @text.collection_id, description: @text.description, title: @text.title }
315 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
316 test/controllers/texts_controller_test.rb:27:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
317 test "should show text" do
318 ^^^^^^^^^^^^^^^^^^
319 test/controllers/texts_controller_test.rb:32:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
320 test "should get edit" do
321 ^^^^^^^^^^^^^^^^^
322 test/controllers/texts_controller_test.rb:37:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
323 test "should update text" do
324 ^^^^^^^^^^^^^^^^^^^^
325 test/controllers/texts_controller_test.rb:38:81: C: Line is too long. [144/80]
326 patch :update, id: @text, text: { body: @text.body, collection_id: @text.collection_id, description: @text.description, title: @text.title }
327 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
328 test/controllers/texts_controller_test.rb:42:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
329 test "should destroy text" do
330 ^^^^^^^^^^^^^^^^^^^^^
331 test/test_helper.rb:5:7: C: Use nested module/class definitions instead of compact style.
332 class ActiveSupport::TestCase
333 ^^^^^^^^^^^^^^^^^^^^^^^
334 test/test_helper.rb:6:81: C: Line is too long. [82/80]
335 # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
336 ^^
337 db/seeds.rb:1:81: C: Line is too long. [103/80]
338 # This file should contain all the record creation needed to seed the database with its default values.
339 ^^^^^^^^^^^^^^^^^^^^^^^
340 db/seeds.rb:2:81: C: Line is too long. [96/80]
341 # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
342 ^^^^^^^^^^^^^^^^
343 db/migrate/20150718102945_devise_create_users.rb:1:1: C: Missing top-level class documentation comment.
344 class DeviseCreateUsers < ActiveRecord::Migration
345 ^^^^^
346 db/migrate/20150718102945_devise_create_users.rb:2:3: C: Method has too many lines. [15/10]
347 def change ...
348 ^^^^^^^^^^
349 db/migrate/20150718102945_devise_create_users.rb:5:59: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
350 t.string :email, null: false, default: ""
351 ^^
352 db/migrate/20150718102945_devise_create_users.rb:6:59: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
353 t.string :encrypted_password, null: false, default: ""
354 ^^
355 db/migrate/20150718102945_devise_create_users.rb:29:81: C: Line is too long. [104/80]
356 # t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts
357 ^^^^^^^^^^^^^^^^^^^^^^^^
358 db/migrate/20150718102945_devise_create_users.rb:33:1: C: Extra blank line detected.
359 db/migrate/20150718115714_add_username_to_users.rb:1:1: C: Missing top-level class documentation comment.
360 class AddUsernameToUsers < ActiveRecord::Migration
361 ^^^^^
362 db/migrate/20150718114831_create_texts.rb:1:1: C: Missing top-level class documentation comment.
363 class CreateTexts < ActiveRecord::Migration
364 ^^^^^
365 db/migrate/20150718114531_create_collections.rb:1:1: C: Missing top-level class documentation comment.
366 class CreateCollections < ActiveRecord::Migration
367 ^^^^^
368 db/schema.rb:4:81: C: Line is too long. [81/80]
369 # incrementally modify your database, and then regenerate this schema definition.
370 ^
371 db/schema.rb:9:81: C: Line is too long. [86/80]
372 # from scratch. The latter is a flawed and unsustainable approach (the more migrations
373 ^^^^^^
374 db/schema.rb:12:81: C: Line is too long. [86/80]
375 # It's strongly recommended that you check this file into your version control system.
376 ^^^^^^
377 db/schema.rb:14:1: C: Block has too many lines. [35/25]
378 ActiveRecord::Schema.define(version: 20150718115714) do ...
379 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
380 db/schema.rb:14:38: C: Separate every 3 digits in the integer portion of a number with underscores(_).
381 ActiveRecord::Schema.define(version: 20150718115714) do
382 ^^^^^^^^^^^^^^
383 db/schema.rb:15:1: C: Extra empty line detected at block body beginning.
384 db/schema.rb:16:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
385 create_table "collections", force: :cascade do |t|
386 ^^^^^^^^^^^^^
387 db/schema.rb:17:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
388 t.string "title"
389 ^^^^^^^
390 db/schema.rb:18:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
391 t.text "description"
392 ^^^^^^^^^^^^^
393 db/schema.rb:19:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
394 t.integer "user_id"
395 ^^^^^^^^^
396 db/schema.rb:20:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
397 t.datetime "created_at", null: false
398 ^^^^^^^^^^^^
399 db/schema.rb:21:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
400 t.datetime "updated_at", null: false
401 ^^^^^^^^^^^^
402 db/schema.rb:24:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
403 add_index "collections", ["user_id"], name: "index_collections_on_user_id"
404 ^^^^^^^^^^^^^
405 db/schema.rb:24:29: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
406 add_index "collections", ["user_id"], name: "index_collections_on_user_id"
407 ^^^^^^^^^
408 db/schema.rb:24:47: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
409 add_index "collections", ["user_id"], name: "index_collections_on_user_id"
410 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
411 db/schema.rb:26:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
412 create_table "texts", force: :cascade do |t|
413 ^^^^^^^
414 db/schema.rb:27:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
415 t.string "title"
416 ^^^^^^^
417 db/schema.rb:28:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
418 t.text "body"
419 ^^^^^^
420 db/schema.rb:29:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
421 t.text "description"
422 ^^^^^^^^^^^^^
423 db/schema.rb:30:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
424 t.integer "collection_id"
425 ^^^^^^^^^^^^^^^
426 db/schema.rb:31:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
427 t.datetime "created_at", null: false
428 ^^^^^^^^^^^^
429 db/schema.rb:32:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
430 t.datetime "updated_at", null: false
431 ^^^^^^^^^^^^
432 db/schema.rb:35:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
433 add_index "texts", ["collection_id"], name: "index_texts_on_collection_id"
434 ^^^^^^^
435 db/schema.rb:35:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
436 add_index "texts", ["collection_id"], name: "index_texts_on_collection_id"
437 ^^^^^^^^^^^^^^^
438 db/schema.rb:35:47: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
439 add_index "texts", ["collection_id"], name: "index_texts_on_collection_id"
440 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
441 db/schema.rb:37:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
442 create_table "users", force: :cascade do |t|
443 ^^^^^^^
444 db/schema.rb:38:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
445 t.string "email", default: "", null: false
446 ^^^^^^^
447 db/schema.rb:38:51: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
448 t.string "email", default: "", null: false
449 ^^
450 db/schema.rb:39:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
451 t.string "encrypted_password", default: "", null: false
452 ^^^^^^^^^^^^^^^^^^^^
453 db/schema.rb:39:51: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
454 t.string "encrypted_password", default: "", null: false
455 ^^
456 db/schema.rb:40:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
457 t.string "reset_password_token"
458 ^^^^^^^^^^^^^^^^^^^^^^
459 db/schema.rb:41:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
460 t.datetime "reset_password_sent_at"
461 ^^^^^^^^^^^^^^^^^^^^^^^^
462 db/schema.rb:42:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
463 t.datetime "remember_created_at"
464 ^^^^^^^^^^^^^^^^^^^^^
465 db/schema.rb:43:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
466 t.integer "sign_in_count", default: 0, null: false
467 ^^^^^^^^^^^^^^^
468 db/schema.rb:43:32: C: Unnecessary spacing detected.
469 t.integer "sign_in_count", default: 0, null: false
470 ^^^^^^^^^
471 db/schema.rb:43:53: C: Unnecessary spacing detected.
472 t.integer "sign_in_count", default: 0, null: false
473 ^
474 db/schema.rb:44:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
475 t.datetime "current_sign_in_at"
476 ^^^^^^^^^^^^^^^^^^^^
477 db/schema.rb:45:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
478 t.datetime "last_sign_in_at"
479 ^^^^^^^^^^^^^^^^^
480 db/schema.rb:46:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
481 t.string "current_sign_in_ip"
482 ^^^^^^^^^^^^^^^^^^^^
483 db/schema.rb:47:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
484 t.string "last_sign_in_ip"
485 ^^^^^^^^^^^^^^^^^
486 db/schema.rb:48:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
487 t.datetime "created_at", null: false
488 ^^^^^^^^^^^^
489 db/schema.rb:49:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
490 t.datetime "updated_at", null: false
491 ^^^^^^^^^^^^
492 db/schema.rb:50:16: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
493 t.string "username"
494 ^^^^^^^^^^
495 db/schema.rb:53:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
496 add_index "users", ["email"], name: "index_users_on_email", unique: true
497 ^^^^^^^
498 db/schema.rb:53:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
499 add_index "users", ["email"], name: "index_users_on_email", unique: true
500 ^^^^^^^
501 db/schema.rb:53:39: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
502 add_index "users", ["email"], name: "index_users_on_email", unique: true
503 ^^^^^^^^^^^^^^^^^^^^^^
504 db/schema.rb:54:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
505 add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
506 ^^^^^^^
507 db/schema.rb:54:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
508 add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
509 ^^^^^^^^^^^^^^^^^^^^^^
510 db/schema.rb:54:54: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
511 add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
512 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
513 db/schema.rb:54:81: C: Line is too long. [104/80]
514 add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
515 ^^^^^^^^^^^^^^^^^^^^^^^^
516 db/schema.rb:55:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
517 add_index "users", ["username"], name: "index_users_on_username", unique: true
518 ^^^^^^^
519 db/schema.rb:55:23: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
520 add_index "users", ["username"], name: "index_users_on_username", unique: true
521 ^^^^^^^^^^
522 db/schema.rb:55:42: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
523 add_index "users", ["username"], name: "index_users_on_username", unique: true
524 ^^^^^^^^^^^^^^^^^^^^^^^^^
525 db/schema.rb:56:1: C: Extra empty line detected at block body end.
526 bin/spring:7:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
527 require "rubygems"
528 ^^^^^^^^^^
529 bin/spring:8:11: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
530 require "bundler"
531 ^^^^^^^^^
532 bin/spring:10:12: W: Assignment in condition - you probably meant to use ==.
533 if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m)
534 ^
535 bin/spring:10:81: C: Line is too long. [95/80]
536 if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m)
537 ^^^^^^^^^^^^^^^
538 bin/spring:11:19: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
539 Gem.paths = { "GEM_PATH" => [Bundler.bundle_path.to_s, *Gem.path].uniq }
540 ^^^^^^^^^^
541 bin/spring:12:9: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
542 gem "spring", match[1]
543 ^^^^^^^^
544 bin/spring:13:13: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
545 require "spring/binstub"
546 ^^^^^^^^^^^^^^^^
547 bin/rails:3:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
548 load File.expand_path("../spring", __FILE__)
549 ^^^^^^^^^^^
550 bin/rails:4:1: W: Do not suppress exceptions.
551 rescue LoadError
552 ^^^^^^^^^^^^^^^^
553 bin/rake:3:25: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
554 load File.expand_path("../spring", __FILE__)
555 ^^^^^^^^^^^
556 bin/rake:4:1: W: Do not suppress exceptions.
557 rescue LoadError
558 ^^^^^^^^^^^^^^^^
559 bin/setup:5:51: C: Unnecessary spacing detected.
560 APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
561 ^
562 bin/setup:11:8: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
563 puts "== Installing dependencies =="
564 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
565 bin/setup:12:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
566 system "gem install bundler --conservative"
567 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
568 bin/setup:13:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
569 system "bundle check || bundle install"
570 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
571 bin/setup:21:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
572 system "bin/rake db:setup"
573 ^^^^^^^^^^^^^^^^^^^
574 bin/setup:24:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
575 system "rm -f log/*"
576 ^^^^^^^^^^^^^
577 bin/setup:25:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
578 system "rm -rf tmp/cache"
579 ^^^^^^^^^^^^^^^^^^
580 bin/setup:28:10: C: Prefer single-quoted strings when you don't need string interpolation or special symbols.
581 system "touch tmp/restart.txt"
582 ^^^^^^^^^^^^^^^^^^^^^^^
583 config/environments/production.rb:2:81: C: Line is too long. [85/80]
584 # Settings specified here will take precedence over those in config/application.rb.
585 ^^^^^
586 config/environments/production.rb:34:81: C: Line is too long. [82/80]
587 # Asset digests allow you to set far-future HTTP expiration dates on all assets,
588 ^^
589 config/environments/production.rb:38:81: C: Line is too long. [102/80]
590 # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
591 ^^^^^^^^^^^^^^^^^^^^^^
592 config/environments/production.rb:44:81: C: Line is too long. [96/80]
593 # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
594 ^^^^^^^^^^^^^^^^
595 config/environments/production.rb:64:81: C: Line is too long. [100/80]
596 # Set this to true and configure the email server for immediate delivery to raise delivery errors.
597 ^^^^^^^^^^^^^^^^^^^^
598 config/environments/production.rb:81:81: C: Line is too long. [81/80]
599 config.action_mailer.default_url_options = { host: 'usertyping.herokuapp.com' }
600 ^
601 config/environments/production.rb:85:5: C: Use the new Ruby 1.9 hash syntax.
602 :address => 'smtp.sendgrid.net',
603 ^^^^^^^^^^^^^^^^^^
604 config/environments/production.rb:86:5: C: Use the new Ruby 1.9 hash syntax.
605 :port => '587',
606 ^^^^^^^^^^^^^^^^^^
607 config/environments/production.rb:87:5: C: Use the new Ruby 1.9 hash syntax.
608 :authentication => :plain,
609 ^^^^^^^^^^^^^^^^^^
610 config/environments/production.rb:88:5: C: Use the new Ruby 1.9 hash syntax.
611 :user_name => ENV['SENDGRID_USERNAME'],
612 ^^^^^^^^^^^^^^^^^^
613 config/environments/production.rb:89:5: C: Use the new Ruby 1.9 hash syntax.
614 :password => ENV['SENDGRID_PASSWORD'],
615 ^^^^^^^^^^^^^^^^^^
616 config/environments/production.rb:90:5: C: Use the new Ruby 1.9 hash syntax.
617 :domain => 'heroku.com',
618 ^^^^^^^^^^^^^^^^^^
619 config/environments/production.rb:91:5: C: Use the new Ruby 1.9 hash syntax.
620 :enable_starttls_auto => true
621 ^^^^^^^^^^^^^^^^^^^^^^^^
622 config/environments/test.rb:2:81: C: Line is too long. [85/80]
623 # Settings specified here will take precedence over those in config/application.rb.
624 ^^^^^
625 config/environments/development.rb:2:81: C: Line is too long. [85/80]
626 # Settings specified here will take precedence over those in config/application.rb.
627 ^^^^^
628 config/environments/development.rb:30:81: C: Line is too long. [82/80]
629 # Asset digests allow you to set far-future HTTP expiration dates on all assets,
630 ^^
631 config/initializers/wrap_parameters.rb:6:81: C: Line is too long. [96/80]
632 # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
633 ^^^^^^^^^^^^^^^^
634 config/initializers/devise.rb:7:81: C: Line is too long. [86/80]
635 # Devise will use the `secret_key_base` on Rails 4+ applications as its `secret_key`
636 ^^^^^^
637 config/initializers/devise.rb:9:81: C: Line is too long. [154/80]
638 # config.secret_key = '6351099ca60799a88507b031808d741a06f532c1fde95afd7c3c0f6fb3e52bf77ed506b25082877cb7bcb16eaf71fd98f723f833983f0eb8dc04f212f8704331'
639 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
640 config/initializers/devise.rb:15:81: C: Line is too long. [85/80]
641 config.mailer_sender = '[email protected]'
642 ^^^^^
643 config/initializers/devise.rb:31:81: C: Line is too long. [83/80]
644 # session. If you need permissions, you should implement that in a before filter.
645 ^^^
646 config/initializers/devise.rb:36:81: C: Line is too long. [84/80]
647 # Configure parameters from the request object used for authentication. Each entry
648 ^^^^
649 config/initializers/devise.rb:38:81: C: Line is too long. [85/80]
650 # find_for_authentication method and considered in your model lookup. For instance,
651 ^^^^^
652 config/initializers/devise.rb:39:81: C: Line is too long. [88/80]
653 # if you set :request_keys to [:subdomain], :subdomain will be used on authentication.
654 ^^^^^^^^
655 config/initializers/devise.rb:40:81: C: Line is too long. [89/80]
656 # The same considerations mentioned for authentication_keys also apply to request_keys.
657 ^^^^^^^^^
658 config/initializers/devise.rb:50:81: C: Line is too long. [85/80]
659 # modifying a user and when used to authenticate or find a user. Default is :email.
660 ^^^^^
661 config/initializers/devise.rb:54:81: C: Line is too long. [81/80]
662 # It can be set to an array that will enable params authentication only for the
663 ^
664 config/initializers/devise.rb:55:81: C: Line is too long. [85/80]
665 # given strategies, for example, `config.params_authenticatable = [:database]` will
666 ^^^^^
667 config/initializers/devise.rb:61:81: C: Line is too long. [83/80]
668 # given strategies, for example, `config.http_authenticatable = [:database]` will
669 ^^^
670 config/initializers/devise.rb:63:81: C: Line is too long. [84/80]
671 # :database = Support basic authentication with authentication key + password
672 ^^^^
673 config/initializers/devise.rb:92:81: C: Line is too long. [86/80]
674 # using other encryptors, it sets how many times you want the password re-encrypted.
675 ^^^^^^
676 config/initializers/devise.rb:94:81: C: Line is too long. [82/80]
677 # Limiting the stretches to just one in testing will increase the performance of
678 ^^
679 config/initializers/devise.rb:96:81: C: Line is too long. [82/80]
680 # a value less than 10 in other environments. Note that, for bcrypt (the default
681 ^^
682 config/initializers/devise.rb:97:81: C: Line is too long. [83/80]
683 # encryptor), the cost increases exponentially with the number of stretches (e.g.
684 ^^^
685 config/initializers/devise.rb:98:81: C: Line is too long. [83/80]
686 # a value of 20 is already extremely slow: approx. 60 seconds for 1 calculation).
687 ^^^
688 config/initializers/devise.rb:102:81: C: Line is too long. [150/80]
689 # config.pepper = 'fbca85c9b62a600abf76528ce3251523cb656120d4304efa3870b64fed2494b447a4c5a8a3b31ef9183e422be848d192e9bc28fb2ff5ed8168ac140f6a62cff5'
690 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
691 config/initializers/devise.rb:121:81: C: Line is too long. [86/80]
692 # initial account confirmation) to be applied. Requires additional unconfirmed_email
693 ^^^^^^
694 config/initializers/devise.rb:123:81: C: Line is too long. [84/80]
695 # unconfirmed_email column, and copied to email column on successful confirmation.
696 ^^^^
697 config/initializers/devise.rb:162:81: C: Line is too long. [85/80]
698 # :failed_attempts = Locks an account after a number of failed attempts to sign in.
699 ^^^^^
700 config/initializers/devise.rb:171:81: C: Line is too long. [83/80]
701 # :time = Re-enables login after a certain amount of time (see :unlock_in below)
702 ^^^
703 config/initializers/devise.rb:196:81: C: Line is too long. [84/80]
704 # When set to false, does not sign a user in automatically after their password is
705 ^^^^
706 config/initializers/devise.rb:201:81: C: Line is too long. [87/80]
707 # Allow you to use another encryption algorithm besides bcrypt (default). You can use
708 ^^^^^^^
709 config/initializers/devise.rb:202:81: C: Line is too long. [85/80]
710 # :sha1, :sha512 or encryptors from others authentication tools as :clearance_sha1,
711 ^^^^^
712 config/initializers/devise.rb:203:81: C: Line is too long. [86/80]
713 # :authlogic_sha512 (then you should set stretches above to 20 for default behavior)
714 ^^^^^^
715 config/initializers/devise.rb:204:81: C: Line is too long. [83/80]
716 # and :restful_authentication_sha1 (then you should set stretches to 10, and copy
717 ^^^
718 config/initializers/devise.rb:211:81: C: Line is too long. [82/80]
719 # Turn scoped views on. Before rendering "sessions/new", it will first check for
720 ^^
721 config/initializers/devise.rb:245:81: C: Line is too long. [82/80]
722 # change the failure app, you can configure them inside the config.warden block.
723 ^^
724 config/initializers/devise.rb:253:81: C: Line is too long. [81/80]
725 # When using Devise inside an engine, let's call it `MyEngine`, and this engine
726 ^
727 config/initializers/backtrace_silencers.rb:3:81: C: Line is too long. [107/80]
728 # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
729 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
730 config/initializers/backtrace_silencers.rb:6:81: C: Line is too long. [112/80]
731 # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
732 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
733 config/initializers/assets.rb:10:81: C: Line is too long. [93/80]
734 # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
735 ^^^^^^^^^^^^^
736 config/application.rb:10:3: C: Missing top-level class documentation comment.
737 class Application < Rails::Application
738 ^^^^^
739 config/application.rb:11:81: C: Line is too long. [82/80]
740 # Settings in config/environments/* take precedence over those specified here.
741 ^^
742 config/application.rb:15:81: C: Line is too long. [99/80]
743 # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
744 ^^^^^^^^^^^^^^^^^^^
745 config/application.rb:16:81: C: Line is too long. [89/80]
746 # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
747 ^^^^^^^^^
748 config/application.rb:19:81: C: Line is too long. [98/80]
749 # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
750 ^^^^^^^^^^^^^^^^^^
751 config/application.rb:20:81: C: Line is too long. [87/80]
752 # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
753 ^^^^^^^
754 config/routes.rb:6:21: C: Use the new Ruby 1.9 hash syntax.
755 resources :users, :only => [:show], :path => 'u' do
756 ^^^^^^^^
757 config/routes.rb:6:39: C: Use the new Ruby 1.9 hash syntax.
758 resources :users, :only => [:show], :path => 'u' do
759 ^^^^^^^^
760 config/routes.rb:7:29: C: Use the new Ruby 1.9 hash syntax.
761 resources :collections, :except => [:index, :new], :path => '/' do
762 ^^^^^^^^^^
763 config/routes.rb:7:56: C: Use the new Ruby 1.9 hash syntax.
764 resources :collections, :except => [:index, :new], :path => '/' do
765 ^^^^^^^^
766 config/routes.rb:8:25: C: Use the new Ruby 1.9 hash syntax.
767 resources :texts, :except => [:index, :new]
768 ^^^^^^^^^^
769 config/routes.rb:15:27: C: Use the new Ruby 1.9 hash syntax.
770 resources :collections, :only => [:index]
771 ^^^^^^^^
772 config/routes.rb:16:81: C: Line is too long. [84/80]
773 # The priority is based upon order of creation: first created -> highest priority.
774 ^^^^
775 config/routes.rb:28:81: C: Line is too long. [81/80]
776 # Example resource route (maps HTTP verbs to controller actions automatically):
777 ^
778
779 55 files inspected, 262 offenses detected
780