However in practice you need to add social sharing buttons inside your rails applications. Its very easy to add social buttons in rails application by using ‘shareable’ gem.
here is an example:
put gem ‘shareable’ in your gem file. then run
Show buttons in rails view:
in your view this will add default buttons in your view.
you can customize buttons by using the helper methods. for more detail click here.