作者omusico (omusico)
看板Ruby
標題[問題] 關於Generators的使用
時間Thu Jul 5 22:13:26 2007
內建的API
說真的我還是不清楚每一個的功能
有人可以說明一下嗎?
ruby script/generate model ModelName
ruby script/generate controller ListController show edit
ruby script/generate scaffold ModelName ControllerName
ruby script/generate migration AddNewTable
ruby script/generate plugin PluginName
ruby script/generate mailer Notification lost_password signup
ruby script/generate web_service ServiceName api_one api_two
ruby script/generate integration_test TestName
ruby script/generate session_migration
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 60.249.91.121
1F:推 godfat:老實講這問題真不知道要怎麼回答 07/06 21:12
2F:→ godfat:有種看著書櫃說不知道這些書在講什麼的感覺 07/06 21:13
3F:推 polarpolar:板主誠然 Orz 07/07 15:34