To disable the default addition of the timestamp to file names in Paperclip, set the second param of url() to false.
This is the method's signature. url style = default_style, include_updated_timestamp = true Here's an implementation sample where the timestamp will not be appended. @model.attachment_name.url(:thumb, false) EG On Nov 18, 1:23 pm, elliottg <[email protected]> wrote: > As it turns out the ENV['RAILS_ASSET_ID'] = "" is working as planned. > The mtime stamp is getting appended via Paperclip it seems. I just > need to find out how to disable that now. > > Anyone know how? > > EG > > On Nov 18, 11:32 am, elliottg <[email protected]> wrote: > > > > > For debugging purposes I need to remove the query string timestamp > > from my image_tag created file names. > > > I have set ENV['RAILS_ASSET_ID'] = "" in both environment.rb and > > development.rb and restarted Apache after each change. But the > > timestamp is still be appended to my uploaded file names. > > > How can I disable this? > > > Thanks, Elliott G -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

