fixtureデータの自動生成
DBの内容からfixture作る奴。ar_fixturesプラグイン。
毎回忘れるからメモ。
- インストール
ruby script/plugin install http://topfunky.net/svn/plugins/ar_fixtures
- 使い方
ruby script/runner "model名.to_fixture"
DBの内容からfixture作る奴。ar_fixturesプラグイン。
毎回忘れるからメモ。
ruby script/plugin install http://topfunky.net/svn/plugins/ar_fixtures
ruby script/runner "model名.to_fixture"