I have Results Controller. It has an index action with a corresponding index view. In the view their is a search form which is sent to a search action in the same controller. I wanted to seperate this from the index action because its pretty heavy and involves backgroundrb, scraping etc.
Once the results are scraped in the search action I want to go back to the index view and add them there. whats best practice. So far i can see 2 ways to do this. i can either manipulate the index view within the search action somehow or i can somehow pass teh results to the index controller and let it do ajax updates on its own view. How do i go about this? If i page.redirect_to :url => "index" - it will reload the index page all over again and I dont want that. (im fairly new to ajax / rails so perhaps overlooking something ) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

