Passing attributes to link_to

i have to pass an attribute, data-gallery, to link_to to build the
equivelant of this link

how do i do

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs