[問題] 關於Generators的使用
內建的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
推
07/06 21:12, , 1F
07/06 21:12, 1F
→
07/06 21:13, , 2F
07/06 21:13, 2F
推
07/07 15:34, , 3F
07/07 15:34, 3F
Ruby 近期熱門文章
PTT數位生活區 即時熱門文章