1.新建项目,并移除index.htmlrailsnewpaperclip-waterrmpublic/index.html2.修改Gemfile添加paperclipgem'paperclip'3.新建assetrailsgscaffoldassetttile:string4.添加paperclip支持railsgpaperclipassetdata5.新建lib/paperclip_processors/watermark.rb,源文件在:http://gist.github...
查看全文