Forum: Ruby on Rails help - how to I link to an external app and pass value?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
998baab37c607466125c1235c1ad7006?d=identicon&s=25 Frank Rocco (frocco)
on 2005-12-08 20:53
(Received via mailing list)
Hello,

I have a list that I need to show a print column and have the print
column call an external web application and pass the id value.

How do I do this in rails?

Thanks

Frank
998baab37c607466125c1235c1ad7006?d=identicon&s=25 Frank Rocco (frocco)
on 2005-12-08 21:38
(Received via mailing list)
this seems to work:

def print
    @receipt = Receipt.find(params[:id])
 link = "http://web/WebReceipts/WebForm1.aspx?id=" + params[:id]
    redirect_to_url(link)
  end
This topic is locked and can not be replied to.