def twitter_share_button(options={})
      options = Hash[options.map {|k, v| ["data-#{k}", v] }]
      options.merge!({:href => 'https://twitter.com/share', :class => 'twitter-share-button'})

      content_tag :a, 'Tweet', options
    end
def twitter_share_button(options={})
      options = Hash[options.map {|k, v| ["data-#{k}", v] }]
      options.merge!({:href => 'https://twitter.com/share', :class => 'twitter-share-button'})

      content_tag :a, 'Tweet', options
    end
Twitter button
 https://twitter.com/about/resources/buttons
 Options: url, via, lang, size, related, hashtags, count