毎回忘れる。
viでコメントアウトする方法
ついでにGVimなのでタブを使ってみた。
vim 7.0 の新機能
すっばらしー
:tabe → :E とするとvimから出ないで色々開けるので便利。
こーるばっく
All about Rails Disabling callbacks in an ActiveRecord data migration
Observer for model with polymorphic relations caused error which says "stack level too deep". solved.
Observer for model with polymorphic relations caused error which says "stack level too deep". solved.
SVNちがい
VMware上のdebianにsambaを導入して、xpのtortoiseSVNで変更を試みたら…
subversionクライアントのバージョンが違うとかいって怒られた。
「This
client is too old to work with working copy
'...'(...作業コピーに対して、このクライアントは古すぎます)」というエラーメッセージが表示されました。Subversionをアップグレー
ドすることなく、これを解決したいんですが。
Ruby on Rails/ActiveRecord::Observer - アークウェブシステム開発SandBox
subversionクライアントのバージョンが違うとかいって怒られた。
svn: このクライアントは、作業コピー '.' を扱うには古すぎます。もっと新しい Subversion クライアントをダウンロードしてください。下を使ったら治ったよ。
「This
client is too old to work with working copy
'...'(...作業コピーに対して、このクライアントは古すぎます)」というエラーメッセージが表示されました。Subversionをアップグレー
ドすることなく、これを解決したいんですが。
$ python change-svn-wc-format.py #{ローカルコピーのパス} 1.4
Ruby on Rails/ActiveRecord::Observer - アークウェブシステム開発SandBox
砂箱。
script/consoleのオプション一覧
とりあえずsandboxにしといたほうがいいっぽい。
Xiaobo On Rails: Rails irb or script/console tips in one glimpse

とりあえずsandboxにしといたほうがいいっぽい。
Xiaobo On Rails: Rails irb or script/console tips in one glimpse
Labels:
Rails,
script/console
普通に消しちゃったやつをsvn rm
svn st |grep '^!' | awk '{print $2}' |xargs svn rm
でっきた
でっきた
Labels:
awk,
bash,
subversion
Subscribe to:
Posts (Atom)
Author
Archive
Labels
- actionmailer (2)
- ActionView (2)
- activerecord (5)
- Ajax (1)
- apache (2)
- authlogic (2)
- awk (2)
- bash (4)
- block (1)
- cache (1)
- capistrano (1)
- crontab (1)
- Debian (1)
- deployment (1)
- design (2)
- design pattern (1)
- exception_notifier (1)
- factory_girl (2)
- firefox (1)
- flash (1)
- git (2)
- haml (1)
- html (1)
- javascript (5)
- jQuery (3)
- life (2)
- linux (3)
- lisp (2)
- mail (1)
- migration (1)
- mysql (2)
- Passenger (2)
- prototype.js (1)
- Rails (26)
- Rails3 (1)
- rake (1)
- restful_authentication (2)
- Rspec (3)
- ruby (10)
- rubygems (1)
- screen (1)
- script/console (1)
- Security (1)
- shouda (1)
- shoulda (3)
- subversion (2)
- sudo (1)
- tdd (1)
- testing (4)
- thunderbird (1)
- UI (1)
- unix (1)
- vim (3)
- work (1)
- xargs (1)
- xss (1)
- zsh (1)