Problem disabling the cache-busting timestamp

For debugging purposes I need to remove the query string timestamp

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

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

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