摘要: http://guides.rubyonrails.org/asset_pipeline.htmlRails 官方的 Assets Pipeline 文档,解释了 Rails 中对静态资源(javascript, css 以及图片)的管理方式: 0, :title => "修改"), edit_pa... 阅读全文
posted @ 2014-06-11 21:32 冰凌花花~ 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Execute shell commandsThere are a number of different ways to run shell commands from Ruby.TheexeccommandKernel#execreplaces the current process and r... 阅读全文
posted @ 2014-06-11 21:00 冰凌花花~ 阅读(274) 评论(0) 推荐(0) 编辑