摘要:
http://guides.rubyonrails.org/asset_pipeline.htmlRails 官方的 Assets Pipeline 文档,解释了 Rails 中对静态资源(javascript, css 以及图片)的管理方式: 0, :title => "修改"), edit_pa... 阅读全文
摘要:
Execute shell commandsThere are a number of different ways to run shell commands from Ruby.TheexeccommandKernel#execreplaces the current process and r... 阅读全文