2009-03-02から1日間の記事一覧

Rails 2.2 の国際化

Controller flash[:notice] = I18n.t( :updated_success, :default => '{{model}} was successfully updated.', :model => Blog.human_name, :scope => [:railties, :scaffold] ) I18n.t 'date.formats.short' I18n.t 'short', :scope => 'date.formats' Vie…

Git

git

初期設定 $ git config --global user.name "XXXX" $ git config --global user.email XXX@example.com $ git config --global core.editor "'/cygdrive/d/XXX/XXX.exe' -CODE=4" $ git config --global color.diff auto $ git config --global color.status…