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
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
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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs