阅读背景:

Paperclip使用params:url选项

来源:互联网 

I have two models: photos and properties. A property has_many photos. When uploading a photo via paperclip I want the directory structure to be something like properties/the_property_id/:id.:style (of course, the second :id here would be the image id since thats what model were in). I have two models: photos and properties. A pro




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: