目黒のドリコムという会社で主に API バックエンドを Rails で書いています。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 | |
1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- app/views/layouts/application.html.slim 2018-01-12 16:22:21.000000000 +0900 | |
+++ app/views/layouts/application.html.haml 2018-01-12 16:22:18.000000000 +0900 | |
@@ -1,34 +1,34 @@ | |
-doctype 1.1 | |
-html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" | |
- head | |
- title | |
- | Fastladder #{@title or [params[:controller].capitalize, (params[:action] if params[:action] != "index")].compact.join(": ")} | |
- meta http-equiv="Content-Script-Type" content="text/javascript" | |
- meta http-equiv="Content-Style-Type" content="text/css" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EnforcedStyle: special_for_inner_method_call_in_parentheses (default) | |
# good | |
foo(bar( | |
:baz, | |
)) | |
# also good | |
foo bar( | |
:baz, | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rubocop v0.35.0 から inherit_gem という機能が増えたので gem にしました | |
# https://github.com/onk/onkcop | |
inherit_gem: | |
onkcop: "config/rubocop.yml" |