=> {
"error" => {
"exceptionClass" => "ExampleException",
"message" => "Something really bad happened",
"context" => "home#example",
"appVersion" => "1.0.0",
"releaseStage" => "production",
"occurrences" => 42,
"firstReceived" => "2014-06-26T05:56:04.171Z",
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
before_validation :set_xxxx | |
extend FriendlyId # extendはもっと上でもいいのでおこのみで | |
friendly_id :slug_candidates, use: :slugged |
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
staging: | |
url: <%= ENV["DATABASE_URL"] %> | |
production: | |
url: <%= ENV["DATABASE_URL"] %> |
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
.primary-sidebar { | |
width: 130px; | |
} | |
.primary-sidebar footer ul li { | |
width: 100%; | |
} | |
.primary-sidebar footer ul li * { | |
display: none; |
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
SESSION_NAME=pplog | |
DIR=~/repository/github.com/ppworks/pplog | |
tmux new-session -d -s pplog -n server -c "$DIR" | |
tmux send-keys -t $SESSION_NAME:0 'bundle exec rails s' C-m | |
tmux new-window -t $SESSION_NAME:1 -n vim -c "$DIR" | |
tmux send-keys -t $SESSION_NAME:1 'vim' C-m C-t | |
tmux new-window -t $SESSION_NAME:2 -n git -c "$DIR" |
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
$ brew upgrade node |
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
module ApplicationHelper | |
def common_helper_method | |
end | |
end |
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
git cd repositoryB | |
git remote add repositoryA git@example.com:repositoryA.git |
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
- arel_cond.and(condition) | |
+ arel_cond.or(condition) |
実際に行ってみたお店の情報を共有します。困ったときにお役立て下さい。(村里さんから頂きました)
http://tabelog.com/tokyo/A1314/A131403/13090301/
笹川記念館の正面のレストラン。パスタプレートなど http://tabelog.com/tokyo/A1314/A131403/13013997/
OlderNewer