タグ

2012年4月18日のブックマーク (4件)

  • git/コミットログを修正する方法 - TOBY SOFT wiki

    はじめに † gitでコミットログを修正したいです。 Redmineとかで、refs #10とかcloses #10とかつけるとコミットログにチケットを関連付けられますが、これがよく書き忘れるんですね…。 直前のコミットログを修正する方法あるみたいです。 直前のコミットログ以外も修正する方法はないのかな…。 (Subversionだとhookスクリプトで許可できますよね。分散型だとやっぱり無理?) ↑ 直前のコミットログを修正する方法 † 直前のコミットログの修正は"git commit --amend" でよいみたいです。 例えば、 $ git commit -m "fixed xxx bug" : # コミット完了! # あ!しまった!"refs #(チケット番号)"つけるの忘れてた! # (私が使うプロジェクト管理ツールRedmineではrefs #13 のようにすると # コミット

    toshihiko150
    toshihiko150 2012/04/18
    コメント修正
  • Class: ActionDispatch::Routing::Mapper — Documentation for plataformatec/devise (master)

    Includes devise_for method for routes. This method is responsible to generate all needed routes for devise, based on what modules you have defined in your model. Examples Let’s say you have an User model configured to use authenticatable, confirmable and recoverable modules. After creating this inside your routes: devise_for :users This method is going to look inside your User model and create the

    toshihiko150
    toshihiko150 2012/04/18
    deviseのroutes.rbの設定のドキュメント
  • Runtime error - TOBY SOFT wiki

    Error message : Spam check failed. Plugin:edit Match:alunknown(empty) 下の二つの単語を入力してください。 PukiWiki 1.4.7 Copyright © 2001-2006 PukiWiki Developers Team. License is GPL. Based on "PukiWiki" 1.3 by yu-ji. Powered by PHP 5.2.17. Skin by YEAR OF THE CAT

  • Rails3 routes

    やはり触れることになってしまった routes.rb。これを期に意味不明な部分を理解しよう。 勉強して得られた情報をメモ。 routes.rb にて生成される URL については rake routes コマンドにて確認できる。 記載する出力結果はすべて rake routes にて出力された結果です。 match(path, options={}) route 師弟の基。アクセス可能な path を指定してやることで、HTTP リクエストを処理できるようになる。 match "foo/bar" # foo_bar /foo/bar(.:format) {:controller=>"foo", :action=>"bar"} path は必ず一つ以上 "/" を入れてやる必要がある。 match "foo" => NG match "foo/bar" => :controller=>"f

    toshihiko150
    toshihiko150 2012/04/18
    routes.rbのメモ