How should I render a long URL in a table, I would prefer not to show the entire URL since it might exceed the table length. I would want to shorten and show it, if it exceeds a certain predefined size (say 50 chars). If I click on it, it should take me to a new page where I can view the contents of the link. How do I implement this?
Share
Rails has a helper for that