たれみみマンデー

2017-10-12から1日間の記事一覧

Herokuのデプロイエラー

Herokuでpush(デプロイ)できない、こんなエラーが。 Build timed out while waiting to start. ! [remote rejected] master -> master (pre-receive hook declined) 解決策 heroku maintenance:on メンテナンスモードにして、再度git push heroku master。 …

Deviseでサインイン後に任意のアクションへ飛ばす【Ruby on Rails】

app/controllers/application_controller.rbに以下を追加。 def after_sign_in_path_for(resource) ******_path(current_devise_user.id) end メモメモ。 @taremimi_7