I have a Video model. I am using link_to to link the a specifiic video. When I access the video page, Rails apprends to the URL weird anchors like this #.UBbC5zF2bZ8. I think it has something to do with my to_paramsmethod :
def to_param
"#{id}-#{title.parameterize}"
end
And my link_to code :
= link_to image_tag(video.thumb, size:"260x145"), video_path(video)
This is unrelated to rails.
It’s a feature of a sharing/tracking plugin called AddThis.
Here’s a similar question on their support page:
http://support.addthis.com/customer/portal/questions/370666-addthis-adds-a-random-number-onto-my-urls