2014-12-10から1日間の記事一覧
# リモートリポジトリから持ってくる git fetch # masterを更新 git checkout master git pull origin master # 対象ブランチに戻ってくる git checkout <branch> # 対象ブランチをリモートから拾う(他の人の作業がある場合などの対策) git pull origin <branch> # ログを</branch></branch>…
Ruby on Rails API
ActiveRecordの条件指定でめっちゃ苦労したのでメモ。 ActiveRecord:scopeをmergeする(引数も取れるよ!)