Tuesday, November 5, 2013

[Rails] Assets without fingerprint with rails 4

Hi,

Rails 4 seems to don't add asset file with original filename (eg: test.jpg), But only fingerprint version (eg: test_hash.jpg). This is not very cool for mailer. If I put an image_tag() into my mailer, then I change my image. The email sended lose the path to the image (because fingerprint change..)

Any option to re-add the original file ? Or the best pratice is to put in public this kind of assets ?

Juste find this : http://dev.mensfeld.pl/2013/07/upgrading-to-rails-4-0-from-rails-3-2-test-case-part-ii-assets-models/

Don't know if it's a bug or nor..

Thanks

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d53d65cd-715a-4b9f-a9b5-920d8430784f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate