This file contains hidden or 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
| heroku config:add HEROKU_API_KEY=<YOUR HEROKU API KEY> | |
| heroku config:add HEROKU_APP_NAME=<YOUR APP NAME> |
This file contains hidden or 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
| = f.input :published, as: :'Locomotive::Toggle', input_html: { class: 'simple-toggle' } | |
| = f.input :require_login, as: :'Locomotive::Toggle', input_html: { class: 'simple-toggle' } #この行を追加 | |
| = f.input :listed, as: :'Locomotive::Toggle', input_html: { class: 'simple-toggle' } |
This file contains hidden or 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
| --- | |
| title: Content type templates | |
| slug: content_type_template | |
| listed: false | |
| published: true | |
| position: 100 | |
| content_type: news | |
| --- | |
| {% extends parent %} | |
| {% block main %} |
This file contains hidden or 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
| include Locomotive::Routing::SiteDispatcher | |
| include Locomotive::Render | |
| include Locomotive::ActionController::LocaleHelpers |
This file contains hidden or 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
| class Users::ConfirmationsController < Devise::ConfirmationsController | |
| protected | |
| # The path used after confirmation. | |
| def after_confirmation_path_for(resource_name, resource) | |
| if signed_in? | |
| '/registrationfinished' | |
| else | |
| new_session_path(resource_name) | |
| end | |
| end |
This file contains hidden or 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
| ja: | |
| errors: | |
| messages: | |
| not_found: "は見つかりませんでした" | |
| # not_found: "not found" | |
| already_confirmed: "は既に登録済みです" | |
| # already_confirmed: "was already confirmed" | |
| not_locked: "は凍結されていません" | |
| # not_locked: "was not locked" |
This file contains hidden or 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
| (中略) | |
| when :staging | |
| # the following configuration works for Amazon S3 | |
| config.storage = :fog | |
| config.fog_credentials = { | |
| provider: 'AWS', | |
| aws_access_key_id: ENV['S3_KEY_ID'], | |
| aws_secret_access_key: ENV['S3_SECRET_KEY'], | |
| region: ENV['S3_BUCKET_REGION'] | |
| } |
This file contains hidden or 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
| group :test do | |
| gem 'fabrication' #追加 | |
| end |
This file contains hidden or 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
| <html> | |
| <!-- | |
| D3.js でこんなことをやりたいらしい。 | |
| 【BEFORE】 | |
| Prefecture,教授,芸術,宗教,報道,投資・経営 | |
| 北海道,249,6,207,0,152 | |
| 青森,19,0,19,0,17 | |
| 【AFTER】 | |
| [Prefecture: 北海道, | |
| values : [ |
This file contains hidden or 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
| ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0nxW60xhlKwxA9PylG/1x8C7bEr1tRZKX73oUkzJ3Kto40zVJGUARpJ8fEH7joobMKedDPhWg/w2dLVraB5qFU9jK0UWfauxQPfd5QzwQtsrpB+eI+kn3jsCIkA928ybbRzxfmiSAANv451Cj1qK2dqqSgrMFbGL7XwJbWE3n83nN/YvpOskTSiolr3kAICpdGYzki/cqUYiAoaGO+6NpmBeFQXNXKXanuPQiMTnfMJgZdXZiwNnza75AMmNKjXx6Zs67cLSQz1iaBI+fgiMPZ79dwmlSSsrIpdNI4B+n7zTQJMLgnq/hZlR09s831jXKqGeO0N9YJlnqrAGCXdZ7Q== |