开发者

how to remove id after extension in paperclip?

how do remove id after ? in paperclip, I need only file_name.extension, when I copy imag开发者_如何学Pythone link I am getting:

/images/company_informations/s200/logo.jpg?1313497842


Add :use_timestamp => false to the attachment resource configuration, as in

has_attached_file :attachment, :use_timestamp => false,...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜