ActiveStorage links are too long!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ActiveStorage links are too long!

Aleksandr Shelestov

A question to the creators of ActiveStorage.

I just implemented the upload feature to my own editor (nothing special, something similar to Github Text Editor). After the user dropped the file to the textarea the uploading process starts and puts a returned link back to the editor:

62838761-06ac3000-bc89-11e9-98ea-cf4a428d6c4b.png


The questions is — why the hell the links are so long?! What's the point?

First, there is a limited amount of chars in the editor. Second, it just looks ugly. And if I add ten pictures in a row it's getting even much uglier.

Why is it not something like this:

![2019-05-28 10.37.34.jpg](/r/a_s/b/eyJfcmFpbHMiO.jpg)

?


Maybe I missed something and there is a way to get back a shorter version?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f6656b0a-b5ee-4113-91be-0cfbba66df5e%40googlegroups.com.