You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This path depends on ruby :path=>":rails_root/public:url" , as specified in the default_options.
Adding the :hash interpolation to the path patters injects a hash generated from the :hash_secret and :hash_data options.
Generate a :hash_secret using SecureRandom.base64(128) from a rails console to generate a relatively secure random string.
Once you've got that set up, defining attachments requires no modifications to get the new hashing behavior (except perhaps restarting your development server):