You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
なんかもうどうしようもないぐらいにgit-pushを忘れてしまうので。 config/deploy.rb を before "deploy:update" do system "git push origin #{branch}" end です。 やってることとしては、 deploy:updateの前に処理をする(2.x DSL Configuration Tasks Before · capistrano/capistrano Wiki · GitHub) set した変数は、コード上に埋め込める(branchっていう変数のこと) systemメソッドを使う(Ruby上で、シェルスクリプト的な実行) ってあたりで。
friendly_urls.markdown Friendly URLs By default, Rails applications build URLs based on the primary key -- the id column from the database. Imagine we have a Person model and associated controller. We have a person record for Bob Martin that has id number 6. The URL for his show page would be: /people/6 But, for aesthetic or SEO purposes, we want Bob's name in the URL. The last segment, the 6 here
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く