2014-08-06から1日間の記事一覧
formの送信 formのmethodのデフォルトはGET。 GETの場合、データはURLの後ろにくっついて?と=と&で連結されてサーバに送られる(QueryString)。
routes.Application.index()という書き方をする場合、routesファイルに GET / controllers.Application.index() という記述がなきゃダメ。
sshでログイン heroku run bash
.git直下のconfigファイルに [remote "heroku"] url = git@heroku.com:MY_APP_NAME.git fetch = +refs/heads/*:refs/remotes/heroku/* の記述を追加するコマンド git remote add heroku git@heroku.com:MY_APP_NAME.git