![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
rake
cckk
这个作者很懒,什么都没留下…
展开
-
rake 命令概览
rake db:abort_if_pending_migrations # Raises an error if there are pending migrations rake db:charset # Retrieves the charset for the current environment's database rake db:c...原创 2014-07-28 09:24:40 · 198 阅读 · 0 评论 -
how to generate a task in ruby on rails
ruby on rails 生成task的方法: $ rails g task task_namespace task_name1 task_name2 $ create lib/tasks/task_namespace.rake task文件里面: namespace :task_namespace do desc "this is describe" ...原创 2014-08-08 10:18:45 · 113 阅读 · 0 评论