I have a two column page (index.html.erb). On the left hand side, I have
the order ID and order NAME displayed. There is a SHOW link next to each
entry.
I want to be able to click on the SHOW link and have it display the full
order information on the right hand column (this is the show.html.erb
file that Rails generated). I turned the default Rails generated
show.html.erb file into a partial.
I'm sure this has to use link_to_remote on the SHOW link, but I'm not
sure how to make it update the right hand column with the partial. I've
read through a lot of the Rails API info jumping around to Helpers,
remote_function and other things. I'm sure I'm missing something simple.
So that fixed my rendering. At least I'm getting information over to the
other column now. But it's an error, because it can't find the ID. I
attached the screenshot of the error I'm seeing. The following will be
the code I currently have pertaining to this function. If anyone has any
ideas on why it's throwing that error, I would really appreciate it (I
know I'm missing something small here).
So that fixed my rendering. At least I'm getting information over to the
other column now. But it's an error, because it can't find the ID. I
attached the screenshot of the error I'm seeing. The following will be
the code I currently have pertaining to this function. If anyone has any
ideas on why it's throwing that error, I would really appreciate it (I
know I'm missing something small here).