How to use link_to method and :popup with ActiveRecord operation

I want users click the links on the webpage with some ActiveRecord
operations(and the content of the link will be shown in a new
window),for example when someone click a article title,a new window
will be open to show the article,and some value of the author of the
article will be added by 1.Please tell me how can I do that,thanks.

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