I have a link_to_remote call that calls on another controller.
The desired behavior is: 1. user clicks on link 2. remote call processed on controller 3. link updated
Here's my code: <div class='ning_it' id='ning'> <% if self.queryBook(item.get('asin')) == 0 %> <%= link_to_remote 'Ning It!', :update=>'amazon', :url=>{:controller=>'Books', :action=>'newAmazon', :title=>item.get('itemattributes/title'), :url=>item.get('detailpageurl'), :author=>item.get('itemattributes/author'), :desc=>item.get('editorialreviews/editorialreview/ content').to_s, :asin=>item.get('asin') }%> <% else %> <span class='ning_done'>Ninged.</span> <% end %> </div>
What I'm getting as the return on the webpage is: Template is missing Missing template books/newAmazon.html.erb in view path C:/Code/rails/ crazyKid/app/views
It's almost as if the :url switch to the controller 'Books' is overriding where I'm at.