Answers for "what does :target => '_blank' mean in ruby on rails"

1

link_to target blank

link_to "External link", "http://www.rubyonrails.org/", target: "_blank", rel: "nofollow"
# => <a href="http://www.rubyonrails.org/" target="_blank" rel="nofollow">External link</a>
Posted by: Guest on December-10-2020

Browse Popular Code Answers by Language